grep

Use this Unix command to search files for lines that match a given expression.

Syntax

Command Parameters

error WORD <1-99>
Searches for an error in a file. WORD<1-99> specifies a filename, /intflash/<file>.
WORD<0-1536> WORD<1-99>
Searches files for lines that match a given expression. WORD<0-1536> specifies the string to match.

Default

None

Command Mode

Privileged EXEC