CLI line-editing conventions
This topic lists the key combinations that speed up command entry, edit command lines, and navigate command history.
The following table describes the key combinations you can use to edit commands or increase the speed of command entry:
|
Key Sequence |
Description |
|---|---|
|
DEL or Backspace |
Delete previous character. |
|
Ctrl-A |
Go to beginning of line. |
|
Ctrl-E |
Go to end of line. |
|
Ctrl-F |
Go forward one character. |
|
Ctrl-B |
Go backward one character. |
|
Ctrl-D |
Delete current character. |
|
Ctrl-U |
Delete to beginning of line. |
|
Ctrl-K |
Delete to end of line. |
|
Ctrl-W |
Delete the previous word. |
|
Ctrl-P |
Go to previous line in history buffer. |
|
Ctrl-R |
Searches backward through the history for a string that is typed interactively. |
|
Ctrl-N |
Go to next line in history buffer. |
|
Ctrl-Z |
Return to root command prompt. |
|
Tab |
Command-line completion. |
|
Exit |
Go to next lower command prompt. |
|
? |
List available commands, keywords, or parameters. |