Skip to content

Instantly share code, notes, and snippets.

@mwatts272
Created October 10, 2013 16:17
Show Gist options
  • Save mwatts272/6921143 to your computer and use it in GitHub Desktop.
Save mwatts272/6921143 to your computer and use it in GitHub Desktop.
Search (grep) for a specified string in all files within the given directory. Highlights all matches in colour.
grep --color -R "search term" /target/dir/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment