Submitted by captaindav on Sat, 2009-10-17 21:15
Generalized Regular Expression Parser
grep string file => finds all occurances of <string> in <file>
-i => ignore case
-w => whole word
-l => list file name only
grep -r 'searchstring' /home => recursive - search all files
find /somedir -name '*.doc' -print | xargs grep 'somestring' /dev/null =>
recursive - specify specific file pattern