User guide

B
LACK
D
IAMOND
U
SER
G
UIDE
2-5
L
INE
-E
DITING
K
EYS
L
INE
-E
DITING
K
EYS
Tabl e 2 -2 describes the line-editing keys available using the command-line interface.
braces { } Enclose an optional value or a list of optional arguments. One or more
values or arguments can be specified. For example, in the syntax
show vlan {<name> | all}
you can specify either a particular VLAN or the keyword
all
. If you do
not specify an argument, the command will show all VLANs. Do not type
the braces.
Table 2-2:
Line-Editing Keys
Key(s) Description
Backspace Deletes character to the left of cursor and shifts remainder of line to left.
Delete or [Ctrl] + D Deletes character under cursor and shifts remainder of line to left.
[Ctrl] + K Deletes characters from under cursor to the end of the line.
Insert Toggles on and off. When toggled on, inserts text and shifts previous
text to right.
Left Arrow Moves cursor to left.
Right Arrow Moves cursor to right.
Home or [Ctrl] + A Moves cursor to first character in line.
End or [Ctrl] + E Moves cursor to last character in line.
[Ctrl] + L Clears the screen and movers the cursor to the beginning of the line.
[Ctrl] + U Clears all characters typed from the cursor to the beginning of the line.
[Ctrl] + W Deletes the previous word.
Up Arrow Displays the previous command in the command history buffer and places
cursor at end of command.
Down Arrow Displays the next command in the command history buffer and places
cursor at end of command.
Table 2-1:
Command Syntax Symbols (continued)
Symbol Description