Very useful grep example
August 16, 2008 | Leave a Comment
This is a super useful grep example that I’m posting so I can remember. To search for a string in all files in a directory, do the following:
find . -exec grep “your string here” ‘{}’ \; -print
Unix commands rock.

