fgrep [options] [pattern] [files]Search one or more files for lines that match a literal, text-string pattern. Because fgrep does not support regular expressions, it is faster than grep (hence fgrep, for fast grep). Exit status is 0 if any lines match, 1 if not, and 2 for errors. See also egrep and grep.
-bPrecede each line with its block number. (Not terribly useful.)
-cPrint only a count of matched lines.
-e patUse this if pat begins with -.
-ffileTake a list of patterns from file.
-hPrint matched lines but not filenames (inverse of -l).
-iIgnore uppercase and lowercase distinctions.
-lList filenames but not matched lines.
-nPrint lines and their line numbers.
-sSilent mode: print only error messages, and return the exit status. Not on SVR4, but common on most commercial Unix systems.
-vPrint all lines that don't match pattern.
-xPrint lines only if pattern matches the entire line.
Print lines in file that don't contain any spaces:
fgrep -v ' 'file
Print lines in file that contain the words in spell_list:
fgrep -f spell_listfile