Created
July 17, 2013 20:09
-
-
Save mittenchops/6023994 to your computer and use it in GitHub Desktop.
Find all files that contain a particular word, recursively in the current directory. This is the version that doesn't use xargs, which I think would look more like this: http://www.cyberciti.biz/faq/howto-recursively-search-all-files-for-words/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -exec grep -l "wordofinterest" {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment