linux search something in cat and output lines matched code example
Example: ubuntu show line in file containing text
grep -hnr "the_string" /media/slowly/DATA/lots_of_files
grep -hnr "the_string" /media/slowly/DATA/lots_of_files