Home Linux

fgrep

Search input files for lines that match a given pattern.

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'

Related commands
:

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 NT commands:

FIND - Search for a text string in a file
FINDSTR
- Search for strings in files
MUNGE - Find and Replace text within file(s)



Back to the Top

Simon Sheppard
SS64.com