grep -rin [查找目标] [查找范围] 例子:在当前目录下的文件内查找test字符串 grep -rin test ./ 转载于:https://www.cnblogs.com/smallredness/p/10752947.html