Technical data
Using Technician Interface Software
9-2
303561-A Rev 00
Creating and Displaying an Alias
You can use the
alias
command either to create an alias or to display the
commands associated with an existing alias. Enter the following to display or
create an alias:
alias
[
<name>
[ [
"
]
<alias_value>
[
"
] ] ]
<name>
is one of the following optional alias name types:
• The name of the alias you are creating. The name may be one to 15
alphanumeric characters; the initial character must be alphabetical.
• The name of an existing alias, when you want to display its associated
commands.
<alias_value>
is a string of Technician Interface commands. The following rules
apply to inserting characters in the
<alias_value>
:
• Separate commands with a space and a semicolon (;).
• Use double quotes (“ ”) outside the
<alias_value>
if it includes a space or a
semicolon (;). The quotes are otherwise optional.
• Enter a backslash (\) before every quote character inside the
<alias_value>
.
This includes the quotes in an
echo
command embedded within the
<alias_value>
.
• Enter a backslash (\) before the following characters when you use them
literally: another backslash (\), a percent sign (%), or a dollar sign ($) at the
last character position of the
<alias_value>
.
• Limit the
<alias_value>
to 255 bytes (just over three 80-character lines).
You can create an alias that invokes other aliases by entering the
alias
command
and nesting up to 15 other aliases in the
<alias_value>
argument. Separate the
aliases with a space and a semicolon (;); see the last example in the examples that
follow.
When you create an alias, the system stores it in memory. Use the
save
command
(described on page 9-8
) to save the aliases in RAM to a file for later retrieval. The
system can store up to 100 aliases in memory, provided that memory is not
dedicated to other tasks, so limit the number of aliases in an alias file to 100. You
can store as many alias files in your file system as space allows.