Cisco ASR 14000 Series Management Command Reference page 756

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

Advertisement

utility find
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
Task ID
Task ID
universal
Examples
In the following example, the utility find command is used to locate the file named "asr14k-fwdg-3.7.1":
The path is the root directory of disk0.
RP/0/RP0/CPU0:router# utility find path disk0: name asr14k-fwdg-3.7.1
disk0:/instdb/admin_pkgs_mdata/asr14k-fwdg-3.7.1
disk0:/asr14k-fwdg-3.7.1
In the following example, the utility find command is used to locate files matching a pattern. In this
example, all files ending in ".txt" are displayed:
RP/0/RP0/CPU0:router# utility find path disk0:/usr name *.txt
disk0:/usr/test2.txt
In the following example, the UNIX equivalent option is used to locate files matching a pattern. In this
example, all files ending in ".txt" are displayed:
RP/0/RP0/CPU0:router# utility find path disk0: -name *.txt
disk0:/asr14k-base-3.7.1/etc/vim/doc/editing.txt
disk0:/asr14k-base-3.7.1/etc/vim/doc/help.txt
disk0:/asr14k-base-3.7.1/etc/vim/doc/intro.txt
disk0:/asr14k-base-3.7.1/etc/vim/doc/uganda.txt
disk0:/usr/test2.txt
In the following example, the files belonging to a specific user are displayed:
RP/0/RP0/CPU0:router# utility find path disk0:/usr user 0
disk0:/usr
disk0:/usr/passwd
disk0:/usr/test2.txt
In the following example, the UNIX equivalent option is used to display files belonging to a specific
user:
RP/0/RP0/CPU0:router# utility find path disk0:/usr -user 0
disk0:/usr
disk0:/usr/passwd
disk0:/usr/test2.txt
Related Commands
Command
utility which
Cisco ASR 14000 Series Router System Management Command Reference
SMR-754
Operations
execute
Description
Locates a program file.
Utility Commands on Cisco IOS XR Software
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents