Cisco ASR 14000 Series Management Command Reference page 755

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

Advertisement

Utility Commands on Cisco IOS XR Software
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 find
To locate files within one or more directories, use the utility find command in EXEC mode or
administration EXEC mode.
Syntax Description
path directory-path
name filename-pattern
LINE
user user-id
usage
Defaults
If a directory path is not specified, then the search is performed in the current directory.
If a filename name pattern is not specified, then the search return all files in the specified directory.
If a user is not specified, then the search is performed for all users.
Command Modes
EXEC
Administration EXEC
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the utility find command to locate files within one or more directories. You can perform the search
for a specific directory (and its subdirectories). If a directory is not specified, then the search is
performed for the current directory.
To search for a regular expression string, use the name pattern keyword and argument. Replace the
pattern argument with the regular expression string. If this option is not used, then all files within the
specified directory are displayed.
To search for files belonging to a specific user, use the user-id argument. If this option is not used, then
files belonging to all users are displayed.
OL-17231-01
utility find {path directory-path {name filename-pattern | user user-id | LINE} | usage}
Specifies the storage device and directory for the file search. The search is
performed for the specified directory and all subdirectories in that directory
tree.
If a directory path is not specified, then the search is performed in the current
directory (a path of . (dot) is assumed).
(Optional) Searches for the name of the file. The pattern argument is a
regular expression string.
(Optional) UNIX command-line expressions provided as a string.
(Optional) Searches for files belonging to a specific user. The user-id
argument is the username of the file owner.
(Optional) Displays the UNIX options supported by this command.
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
Cisco ASR 14000 Series Router System Management Command Reference
utility find
SMR-753

Advertisement

Table of Contents
loading

Table of Contents