this linux bash script: will let you search in all files in all subdirectories and output filename & the line of occurence:

#!/bin/bash
# suchen im inhalt einer unbekannten datei in allen unterverzeichnissen
echo „USAGE EXAMPLE: find_in_subdirs_grep_pattern \“text content\“ \“*.htm\““
echo „will only search in *.html files for text \“text content\““
echo „make shure to use the double quotes \““
search_pattern=$1;
file_filter=$2;
for file in $(grep -lir $search_pattern $file_filter); do echo $file“:“;cat $file |grep $search_pattern; done

output will be something like:

#!/bin/bash
sync_php_to_164.sh:
#!/bin/bash
uninstall_kde.sh:
#!/bin/bash

in named find_in_subdirs_grep_pattern.sh

have phun!