Cisco ASR 14000 Series Management Command Reference page 737

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

Advertisement

Utility Commands on Cisco IOS XR Software
utility cut
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
ROM: Syste
router upt
System ima
cisco ASR1
7457 proce
16 Gigabit
2 Ethernet
20 Packet
20 SONET/S
2043k byte
38079M byt
1000592k b
1000640k b
Configurat
Package ac
--More--
In the following example, the utility cut command is used to extract fields from a file:
RP/0/RP0/CPU0:router# utility cut fields 1,5 delimiter : file disk0:/usr/passwd
root:Super-User
daemon:
bin:
sys:
adm:Admin
lp:Line Printer Admin
uucp:uucp Admin
nuucp:uucp Admin
listen:Network Admin
nobody:Nobody
In the following example, the utility cut command is used with the delimiter keyword to specify an
alternative field delimiter:
RP/0/RP0/CPU0:router# utility cut fields 1,4,5 delimiter : file disk0:/usr/passwd
root:1:Super-User
daemon:1:
bin:2:
sys:3:
adm:4:Admin
lp:8:Line Printer Admin
uucp:5:uucp Admin
nuucp:9:uucp Admin
listen:4:Network Admin
In the following example, a range of fields is specified:
RP/0/RP0/CPU0:router# utility cut fields 1-4 delimiter : file disk0:/usr/passwd
root:x:0:1
daemon:x:1:1
bin:x:2:2
sys:x:3:3
adm:x:4:4
lp:x:71:8
uucp:x:5:5
nuucp:x:9:9
listen:x:37:4
Cisco ASR 14000 Series Router System Management Command Reference
SMR-735
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents