Skip to content

Instantly share code, notes, and snippets.

@tuanmai
Created July 15, 2016 10:24
Show Gist options
  • Save tuanmai/1494897b2e56d816fada0568a6771d23 to your computer and use it in GitHub Desktop.
Save tuanmai/1494897b2e56d816fada0568a6771d23 to your computer and use it in GitHub Desktop.
grep -A 5
-B, --before-context=NUM print NUM lines of leading context
-A, --after-context=NUM print NUM lines of trailing context
-C, --context=NUM print NUM lines of output context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment