EasyManua.ls Logo

Compaq AlphaServer ES40 - Page 127

Compaq AlphaServer ES40
444 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SRM Console Diagnostics 4-23
Syntax
grep ( [-{c|i|n|v}] [-f <file>] [<expression>] [<file>...] )
Arguments
<expression>
Specifies the target regular expression. If any regular
expression metacharacters are present, the expression
should be enclosed with quotes to avoid interpretation by the
shell.
<file>...
Specifies the files to be searched. If none are present, then
standard input is searched.
Options
-c
Print only the number of lines matched.
-i Ignore case. By default grep is case sensitive.
-n
Print the line numbers of the matching lines.
-v
Print all lines that do not contain the expression.
-f <file>
Take regular expressions from a file, instead of command.

Table of Contents

Other manuals for Compaq AlphaServer ES40

Related product manuals