![Cisco ASR 14000 Series Management Command Reference Download Page 752](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667752.webp)
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
Utility Commands on Cisco IOS XR Software
utility egrep
SMR-750
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
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
Description
Searches a file for a fixed character string.