218
C
4: R
HAPTER
OUTER
Command Features
Command Line Edit
Command Retrieval
Positional Help
C
R
OMMAND
EFERENCE
The command language has several built-in features that make it easier
to use. When abbreviating commands, it is sometimes difficult to
remember commands and their syntax. Using command completion and
positional helps to remind you of the commands and their parameters
while you are typing a command string.
Command line edit allows nondestructive cursor movements on a
command already typed.
Entry
(Ctrl b) or left arrow
(Ctrl f) or right arrow
(Esc b)
(Esc f)
(Ctrl a)
(Ctrl c)
(Ctrl e)
(Ctrl d) or (Ctrl k)
Command retrieval retrieves commands from the history of previous
commands entered. You can display the current command history using
the history command. You can change the number of commands kept in
the command history buffer using the set command history command.
Entry
(Ctrl p) or up arrow
(Ctrl n) or down arrow
Positional help displays the list of possible parameters when you type ?
(question mark) after any command or parameter. It redisplays the line
you typed, without the ?, so you can enter the parameter you wish to
use. This helps you find the parameter you need, so you can add it to
your command without retyping the entire command string. Be sure to
leave a space between the keyword and the question mark to use
positional help.
Action
go back one character
go forward one character
go back one word
go forward one word
go to beginning of command
escape from CLI process
go to end of command
delete character
Action
recall previous command in history list
recall next command in history list