-v 反向选择, 即: 筛选出跟表达式不匹配的行
grep "hi\|hello" test.txt => 搜索包含 hi 或者 hello 的行
grep -v "hi\|hello" test.txt => 搜索不包含 hi 或者 hello 的行
--color=auto 高亮显示
-i
-c
-a
-v 反向选择, 即: 筛选出跟表达式不匹配的行
grep "hi\|hello" test.txt => 搜索包含 hi 或者 hello 的行
grep -v "hi\|hello" test.txt => 搜索不包含 hi 或者 hello 的行
--color=auto 高亮显示
-i
-c
-a