Skip to content

Instantly share code, notes, and snippets.

@btoone
Created April 3, 2012 03:54
Show Gist options
  • Select an option

  • Save btoone/2289165 to your computer and use it in GitHub Desktop.

Select an option

Save btoone/2289165 to your computer and use it in GitHub Desktop.
# Common Grep pattern. Recursively searches directory, case insensitive, show
# line numbers, show the 5 lines before and after
grep -irn -C 5 [pattern] [location]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment