摘要: 一、Linux命令 统计 test.txt 文件包含的行数。 cat test.txt | wc -l 屏幕打印出test.txt中所有包含“hello world”的记录。 awk '/hello world/{print}' test.txt 使用vi 从上至下在test.txt文件中搜索字符串 阅读全文
posted @ 2018-10-09 16:44 carlvine 阅读(194) 评论(0) 推荐(0) 编辑