grep高级操作

it2022-05-05  86

grep -A n xxx  

grep -B n xxx

grep -C n xxx

分别搜索xxx并打印后面,前面,前后制定行数的内容

转载于:https://www.cnblogs.com/fourstupidguns/p/11072058.html


最新回复(0)