0
点赞
收藏
分享

微信扫一扫

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

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

//根目录
find / -name "*.php" | xargs grep "hello"

破罐子互摔


举报

相关推荐

0 条评论