Searching file content using recursive grep in Unix or Linux
In *nix OS, grep is a handy command to search for file content. If you need to scan through various files in current directory + subdirectories for a specific string, you can use recursive grep.
-
Searching File Content Using Recursive Grep in Unix or Linux
smallwei

smallwei 11:04 am on November 16, 2009
Recursive grep (replace STRING with the text you are searching for):
find . -name "*.*" | xargs grep "STRING"