Editing a command line
To edit a command line, use the keys listed in Table 1 or the hotkeys listed in Table 2. When you are finished, you can press Enter to execute the command.
A command line can have up to 512 characters, including keywords, arguments, spaces, and special characters.
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 entering part of a keyword, the system automatically completes the keyword.
|