This is GREAT for use in scripts. If the string you're grepping for gets a match, it returns 0.
No fiddling with comparison operators for your if statements!
if grep -q needle haystack.txt
echo "I found a needle!"
echo "No needles here..."