grep that myfile.txt
Look for the string ``that'' in the file called ``myfile.txt'' and print out each line that matches.
egrep -in "this|that" *.dat
Extended grep search *.dat files for ``this'' or ``that'' case insensitive (-i) and where found print line number (-n) along with the line contents.