1、linux查找目录下的所有文件中是否含有某个字符串: find . -type f |xargs grep helloworld 2、列出当前目录所有包含指定字符串的文件: find . |xargs grep -ri "IBM" -l