Grep Recursively

The following command will search your hard drive for a specific file type *.php and then execute the grep command on each of those files. The -Hn switches will show the file name and the line number for each match.

find . -name "*.php" -exec grep -Hn "its_db.php" {} \;