Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-7
ADD ALIAS
Related Commands
DELETE on page 6-29
LIST on page 6-129
SELECT on page 6-164
ADD ALIAS
The ADD ALIAS command adds a name for a command string to the alias list for the
current Inspect session. To add an alias, you provide ADD ALIAS with:
The name of the alias
The command string that the alias name represents
After you add an alias, you can use its name whenever you would normally enter its
replacement string.
alias-name
specifies the name of the alias. This name can contain up to 31 alphanumeric
characters; the first character must be alphabetic. An alias name cannot be the
same as an Inspect command name or command name abbreviation.
replacement-string
specifies the command string to associate with the alias name. The command
string is a group of zero or more characters enclosed in either quotes (") or
original-name: one of
[ \system. ] $volume [ .subvolume [ .file ] ]
[ \system. ] $process [ .#qual-1 [ .qual-2 ] ]
[ \system. ] cpu, pin
[ \system. ] $volume.#number
/oss-pathname [/oss-pathname... ]
new-name:
[\system.] $volume [ .subvolume [ .file ] ]
/oss-pathname [/oss-pathname... ]
ADD ALIAS alias-name [=] replacement-string
replacement-string: one of
" [ character ]... "
' [ character ]... '