grep -v 反向查找

1.grep 是查找含有指定文本行的意思,比如grep test 就是查找含有test的文本的行

2.grep -v 是反向查找的意思,比如 grep -v grep 就是查找不含有 grep 字段的行

参考http://blog.csdn.net/tengdazhang770960436/article/details/12975419


posted @ 2017-05-01 23:10  ColinYu  阅读(4216)  评论(0)    收藏  举报