Use grep to search for a word inside a folder
Filed Under (Others) by admin on 16-09-2010
To use grep to search for a word inside a folder with in a folder, like searching a word recursively through the folders
use this command
$ grep -r "check-btn" /var/www/html
it will show the filenames containing the matched word and the lines it contained


