查找包含指定字符串的文件

来源:互联网 发布:define在c语言中用法 编辑:程序博客网 时间:2024/06/05 09:35

find . -type f -name "*.c" -exec grep "xxxx" {} /; -print

 

grep *.c -e "xxx"

原创粉丝点击