Grep is a linux command that is often overlooked but can be very useful when searching for stuff from a single string to a complicated regular expression. This article scratches the surface on it's power and should leave you with enough information to discover new uses for it.
http://www.iceteks.com/articles.php/grep/1