Aug 102010
grep is a very useful terminal command used to search for text within files, the default is to print all lines that contain the given string.
Examples:
grep word file -> print all the lines of the file containing the word.
cat file1 | grep keyword
Unix command | grep keyword