linux-grep命令

grep -print   lines    matching    a pattern

         打印    行        匹配          一个模式

 

grep 就和筛子一样

 

- -color =auto 过滤的内容加色

-v Inver t取反

-l  ignore 不区分大小写

-n 显示行号

-w word 按单词为单位进行过滤

 

posted on 2019-07-11 17:25  箫天猎风  阅读(160)  评论(0编辑  收藏  举报