linux find查找文件内容

//.点为查找当前目录 下 的 所有 *.php 文件里 有 hello 的文件
find . -name "*.php" | xargs grep "hello"

 

posted @ 2020-07-22 14:39  牛郎  阅读(3729)  评论(0编辑  收藏  举报