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 which
SMR-771
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
utility which
To locate a program file, use the
utility which
command in EXEC mode or administration EXEC mode.
utility which
[
all
] [
fullname
] [
long
[
link
]]
program
program-name
[
usage
] [
WORD
]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Administration EXEC
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Note
Keywords are entered using the displayed syntax, or with UNIX-equivalent syntax. The
UNIX-equivalent syntax is displayed in parentheses () in the syntax description. To display the
UNIX-equivalent syntax online, enter the keyword
usage
.
Task ID
Examples
In the following example, the
utility which
command is entered without keywords or arguments to
display the location of the perl program:
RP/0/RP0/CPU0:router#
utility which program perl
all
(Optional) (
-a
) Displays all occurrences of the program specified by the
program
pathname
keyword and argument.
fullname
(Optional) (
-f
) Displays the full pathname of the program file.
long
link
(Optional) (
-l
) (“el”) Displays the long format for each program found, and
also displays link information if the file is a symlink.
program
program-name
Specifies the name of the program file.
usage
(Optional) Displays the UNIX options supported by this command.
WORD
(Optional) UNIX command-line option string. The maximum number of
characters is 20.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
universal
execute