grep
is a program for finding mathing patterns, it will look for context of a files or stdin.
grep error /var/log/server.log
will print all the errors in a file.
find . -name *.txt | grep temp
will print all the .txt file with temp in it.
Flags: