We can use grep command to find a string in files existed in subdirectories also. Syntax: grep -Rl <string> <directory path> Ex: grep -Rl "text" /var/tmp The above command greps the string "text" from all the files of the path /var/tmp and their subdirecoties, and prints the list of files that contains the string "text". Visit articles page of the website learningmela.com
A better way to be wealthy in the future