fgrep

Search file(s) for lines that match a fixed string

Syntax
      fgrep <options> ...

fgrep is the same as `grep -F'

all other options are the same as grep 

It's a popular fallacy that `fgrep' stands for fast-grep.
In fact `fgrep' means fixed-string grep, it has no performance boost over `grep'

"The knowledge imposes a pattern, and falsifies, For the pattern is new in every moment..." - T. S. Eliot

Related
:

egrep - Search file(s) for lines that match an extended expression
gawk - Find and Replace text within file(s)
grep - Search file(s) for lines that match a given pattern
Equivalent Windows command: FINDSTR - Search for strings in files



Back to the Top

Simon Sheppard
SS64.com