1
grep -B 5 foo file
grep -A 5 foo file
grep -C 5 foo file
grep显示前后几行信息
原文:https://www.cnblogs.com/lijianming180/p/12041474.html