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

# 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 \““
for file in $(grep -lir $search_pattern $file_filter); do echo $file“:“;cat $file |grep $search_pattern; done

output will be something like:


in named

have phun!