参考:https://www.cnblogs.com/huninglei/p/5824205.html html
在某目录下搜索全部包含字符串的文件htm
1.grepblog
grep -rn "test" *递归
其中的参数字符串
* : 表示当前目录全部文件,也能够是某个文件名get
-r 是递归查找class
-n 是显示行号test
-R 查找全部文件包含子目录搜索
-i 忽略大小写grep
2.find
find -type f -name '*.c'|xargs grep 'start_dataCall'