find grep 实现按文本内容查找文件

这里需要使用find命令递归列出所有的文件:find . -iname “*”
使用xargs来分解参数列表
最后使用grep来实现对文本内容的查找:grep “content”

find . -iname “*” | xargs grep “cotent”