Configuring command aliases – H3C Technologies H3C SecPath F1000-E User Manual
Page 204
10
Hotkey Function
Ctrl+K
Terminates an outgoing connection.
Ctrl+N
Displays the next command in the history command buffer.
Ctrl+P
Displays the previous command in the history command buffer.
Ctrl+R
Redisplays the current line information.
Ctrl+V
Pastes the content in the clipboard.
Ctrl+W
Deletes all the characters in a continuous string to the left of the
cursor.
Ctrl+X
Deletes all the characters to the left of the cursor.
Ctrl+Y
Deletes all the characters to the right of the cursor.
Ctrl+Z
Exits to user view.
Ctrl+]
Terminates an incoming connection or a redirect connection.
Esc+B
Moves the cursor to the leading character of the continuous string to
the left.
Esc+D
Deletes all the characters of the continuous string at the current
cursor position and to the right of the cursor.
Esc+F
Moves the cursor to the front of the next continuous string to the
right.
Esc+N
Moves the cursor down by one line (available before you press
Enter)
Esc+P
Moves the cursor up by one line (available before you press Enter)
Esc+<
Specifies the cursor as the beginning of the clipboard.
Esc+>
Specifies the cursor as the ending of the clipboard.
NOTE:
Hotkeys in the table above are defined by the device. When you interact with the device from terminal
software, these keys may be defined to perform other operations. If so, the definition of the terminal
software dominates.
Configuring Command Aliases
The command alias function allows you to replace the first keyword of a command supported by the
device with your preferred keyword. For example, if you configure show as the replacement of the
display keyword for each display command, to execute the display xx command, input the
command alias show xx.
Note the following when configuring command aliases:
•
When you input a command alias, the system displays and saves the command in its original
format instead of its alias. In other words, you can define and use a command alias but the
command is not saved and restored in its alias.
•
When you define a command alias, the cmdkey and alias arguments must be in their complete
form.