My understanding of grep is pretty elementary. I’ve recently found it useful for searching for texts contained in particular strings, though. For example:
grep "search term" *
– searches for the words “search term” in all the files in the particular directory.
More here:
http://www.cyberciti.biz/faq/howto-search-find-file-for-text-string/