用 find 命令查找包含指定文字的文件

用find查找包含“xxx”的程序,一直记不住,记到这里。
find  ./  -type   f   -name "*.php" -exec   grep   -l   "xxx"   {}   \;   >/file_list.txt

本文出自 “mojo” 博客,谢绝转载!

你可能感兴趣的:(职场,find,休闲)