主要是使用find命令#1.列出文件夹以及文件夹中的内容find . -type f|xargs grep "待查字符"#2.不列出文件夹中的内容,仅输出文件名字find . -type f|xargs grep "待查字符" -l