linux 常用搜索命令 find grep

https://www.cnblogs.com/wuwuyong/p/11824602.html#_label0

 

递归搜索当前路径,找出中所有包含关键字copy_to_user"的文件

grep "copy_to_user" -r .

 

找出文件名为system.h的文件

find . -name system.h

posted on 2024-09-10 16:37  zxddesk  阅读(19)  评论(0)    收藏  举报

导航