shell-grep查找xx字符串

grep "xxx" 目录yy -wrn

 

-w 精确匹配

-r  目录下循环查找

-n  显示行号

posted @ 2019-09-07 13:08  cjshan  阅读(778)  评论(0编辑  收藏  举报