Zhone 5100 참조 매뉴얼

다운로드
페이지 186
CHAPTER 1
System commands
4    
Vpacket 5100/6100 Series Reference Manual
Setting an alias
You can set an alias by issuing the alias command. This command allows you to customize the 
commands that you can enter to manage the 5100/6100 VDR.
Syntax: alias <string1> <string2>
Argument:
string1
the alias that you want to set
string2
the command that string1 represents; quotations are necessary around 
commands that contain spaces
Example:
In this example, an alias is set so that when a user wants to list the contents of a directory, the user 
only has to enter “showme,” which might be more meaningful to the user than entering the dir 
command.
Broadcasting a message
You can send a message to all users who are logged-on by issuing the broadcast command. This 
command is available for user or admin access level.
Syntax: broadcast <string>
Argument:
string 
a message, enclosed in quotation marks, that you want sent to the users who are 
currently logged on to a 5100/6100 VDR
sendtext
Writes text to another user
sleep
Forces the console to not accept input for a set number of seconds page 12
who
Displays users currently logged in
!x or !!
Executes the command given in the history list 
(! <number> or !!)
VPacket# alias showme dir
VPacket#
Table 1-3.  (continued) System-level general commands
Command
Description
See...