摘要:
egrep 相当于 grep -E grep -A -B -C(大写) 后面都跟阿拉伯数字 -A是显示匹配后和它后面的n行。after -B是显示匹配行和它前面的n行。 before-C是匹配行和它前后各n行。 context 例如:grep -A 1 hello test.txt 就是搜索test 阅读全文
posted @ 2022-10-11 11:52
JennyYu
阅读(166)
评论(0)
推荐(0)
浙公网安备 33010602011771号