grep find line with matching string code example
Example 1: ubuntu show line in file containing text
grep -hnr "the_string" /media/slowly/DATA/lots_of_files
Example 2: grep line number in linux
$ grep -in null myfile.txt
2:example two null,
4:example four null,