Linux中在某个文件里搜索文本

查找文件 “test.txt” 中含有 “a” 字符的所有的行

 

命令:grep a test.txt

 

 

 

posted @ 2021-11-13 16:22  二维一加零  阅读(201)  评论(0)    收藏  举报