Linux命令(一)grep查询

grep -n as test1.txt

-n : 显示行号

-v: 显示没有搜索字符的一行

-i:忽视大小写

 

 搜索字符串

模式查找

 

原文地址:https://www.cnblogs.com/douzujun/p/10196135.html