Cisco ASR 14000 Series Management Command Reference page 752

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

utility egrep
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
In the following example, the linenum keyword is used to append the line number to the beginning of
each output line:
RP/0/RP0/CPU0:router# utility egrep expr Adm* linenum file disk0:/usr/passwd
5:adm:x:4:4:Admin:/var/adm:
6:lp:x:71:8:Line Printer Admin:/usr/spool/lp:
7:uucp:x:5:5:uucp Admin:/usr/lib/uucp:
8:nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
9:listen:x:37:4:Network Admin:/usr/net/nls:
15:ssadmin:x:901218:60001:Sun StorEdge(tm) Configuration Service Agent Admin:/:/bin/false
Related Commands
Command
utility fgrep
Cisco ASR 14000 Series Router System Management Command Reference
SMR-750
Description
Searches a file for a fixed character string.
Utility Commands on Cisco IOS XR Software
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents