Searching entire directory
To search a string in all files and sub-direcotries of directory, use the -nr option with GREP.grep -nr "SEARCH_STRING" FOLDER
Eg: For searching for "Hello World" in the current direcory , Use it like
grep -nr "Hello World" .
Some examples on Find Command and Awk Command
ReplyDelete