If a parameter is in [ ], it is optional. If a command's parameters are all optional, at
least one must be supplied unless the complete parameters list is also enclosed
in [ ].
A set of values joined with a | means that only one of those values may be given.
A.1.2.4 Command Line Editing
Commands and parameters can be edited as you type by using common
keystrokes. The next Table lists the editing keystrokes that can be used.
Keystroke
Function
Ctrl-A
Jump to the start of the line
Ctrl-B
Move cursor back one character (left)
Ctrl-C
Escapes and terminates lengthy tasks
Ctrl-D
Delete the character at, or in front of, the cursor
Ctrl-E
Jump to the end of the current line
Ctrl-F
Moves cursor forward one character
Ctrl-H; Backspace
Erases a mistake when entering a command
Ctrl-K
Delete from the cursor forward to the end of the line
Ctrl-N; down-arrow
Display the next command in the command history
Ctrl-P; up-arrow
Display the previous command in the command history
Ctrl-S
Search for a command in the command history
Ctrl-U
Delete complete line
Esc B
Move cursor back one word
Esc D
Deletes from cursor to end of the word
Esc F
Moves cursor forward one word
Tab
Complete the command or display alternatives if there is more
than one possible command
A.1.2.5 Help
Command completion can be requested at any time by pressing the Tab key. This
gives a list of the words that may be added to the command line, taking into
account what has already been typed.
Appendix A. Command line interface reference
569