2021年11月16日

摘要: 一、文本搜索:grep 1、grep hello test.txt : 在某个文件中查找包含hello的内容,只要一行中有hello会把整行显示 2、grep -n:显示匹配行及行号 3、grep -v:显示不匹配行 4、grep -i:忽略大小写 5、grep -n hello /home/adm 阅读全文

posted @ 2021-11-16 22:11 浅行谦性 阅读(58) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3