linux grep few lines before and after code example Example: grep show lines above and below grep -C 3 foo README.txt