Skip to content

Instantly share code, notes, and snippets.

@richardpeng
Created October 7, 2010 15:38
Show Gist options
  • Save richardpeng/615300 to your computer and use it in GitHub Desktop.
Save richardpeng/615300 to your computer and use it in GitHub Desktop.
# Search for a text string in all files and subdirectories.
find -type f -print0 | xargs -0 grep -il "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment