Editing a command line

To edit a command line, use the keys listed in Table 1 or the hotkeys listed in Table 4. When you are finished, you can press Enter to execute the command.

Table 1: Command line editing keys

Keys

Function

Common keys

If the edit buffer is not full, pressing a common key inserts a character at the cursor and moves the cursor to the right. The edit buffer can store up to 511 characters. Unless the buffer is full, all common characters that you enter before pressing Enter are saved in the edit buffer.

Backspace

Deletes the character to the left of the cursor and moves the cursor back one character.

Left arrow key (←)

Moves the cursor one character to the left.

Right arrow key (→)

Moves the cursor one character to the right.

Up arrow key (↑)

Displays the previous command in the command history buffer.

Down arrow key (↓)

Displays the next command in the command history buffer.

Tab

If you press Tab after typing part of a keyword, the system automatically completes the keyword.

  • If a unique match is found, the system displays the complete keyword.

  • If there is more than one match, press Tab multiple times to pick the keyword you want to enter.

  • If there is no match, the system does not modify what you entered but displays it again in the next line.

The total length of a command line cannot exceed 512 characters, including spaces and special characters.

The device supports the following special commands:

These commands are special because of the following reasons: