我用 grep -l patten 目录 (例子:grep -l yang97e /root)
似乎不行
没有输出
我看了 Man page 说的是:
-l, --files-with-matches
Suppress normal output; instead print the name of each input file from which output would normally have been printed. The scanning will stop on the first match.