grep 文件内容搜索 比如现在我们要查找在/home/userlan/目录中哪些文件中包含foobar这个关键字1. 打开终端2. 输入命令 grep -rl "foobar" /home/userlan/