转自:http://blog.csdn.net/qvbfndcwy/article/details/8127329
find -name ‘*.php‘|xargs grep ‘include‘//在当前目录及其子目录的php文件中查找include字符串 find . -name ‘*.php‘ -exec grep -i -nH "include" {} \;//同上
grep在指定类型的文件中查找字符 (转载)
原文:http://www.cnblogs.com/lance-ehf/p/4919300.html