linux 查询制定目录的制定内容

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

//根目录
find / -name "*.php" | xargs grep "hello"
相关文章
相关标签/搜索