描述 查看某路径下,哪些文件包含某字符串 命令 grep -r -e string directory 例子 在 /home 目录下的所有文件中查找包含 test 字符串的文件。 grep -r -e "test" /home/