To find a string in specific file :-
Quote:
|
grep <string to find> <filename>
|
To find a string in all the files in specific directory
To find a string in all the files in directories and sub directories.
Quote:
|
find . -type f -print | xargs grep <string to find>
|