Skip to content

Instantly share code, notes, and snippets.

@jlengstorf
Created October 14, 2012 20:36
Show Gist options
  • Save jlengstorf/3889744 to your computer and use it in GitHub Desktop.
Save jlengstorf/3889744 to your computer and use it in GitHub Desktop.
Search for all occurrences of a string, case-insenstive, within the current dir and its subdirs. Returns the file name & line number, plus the matched line
grep -rni "STRING" .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment