Skip to content

Instantly share code, notes, and snippets.

@slor
Created June 10, 2011 20:21
Show Gist options
  • Save slor/1019683 to your computer and use it in GitHub Desktop.
Save slor/1019683 to your computer and use it in GitHub Desktop.
Grep like a boss
# grep current directory recursively for foo
# case-insensitive
# ignore binary files
# show line numbers
# ignore svn cruft
# force color
grep -rIin --color=force foo . | grep -v svn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment