grep 从文件内容中查找

grep -rin [查找目标] [查找范围]

例子:在当前目录下的文件内查找test字符串

grep -rin test ./
posted @ 2019-04-22 20:58  JohnRed  阅读(10948)  评论(0编辑  收藏  举报