Using control characters and editing keystrokes on the command line

Table: Control Characters and Keystrokes Available to execute and edit Commands
Command Description
/ (Slash)

Return to the operational root (equivalent to exit all) if used without parameters.

Navigate into context or set the value and remain in current context if used at the beginning of a line (equivalent to exit all, and then the command)

} (Closing brace)

Go back one level

CTRL-Z

Return to operational root. If using CTRL-Z after a command, return to the operational root after executing the command (equivalent to pressing ⏎ after the command and exit all after the command has executed).

CTRL-C

Stop the current command

CTRL-D

Delete the current character

CTRL-W

Delete the word up to the cursor

CTRL-H

Delete the current character and move the cursor left

CTRL-U

Delete text up to the cursor and preserve the character under the cursor

CTRL-K

Delete the text after the cursor, without preserving the character under the cursor

CTRL-A (or Home)

Move to the beginning of the line

CTRL-E (or End)

Move to the end of the line

CTRL-P (or up arrow key)

Display prior command from history

CTRL-N (or down arrow key)

Display next command from history

CTRL-B (or left arrow key)

Move the cursor one space to the left

CTRL-F (or right arrow key)

Move the cursor one space to the right

CTRL-I

Enter a tab

CTRL-J

Enter a new line

CTRL-M

Enter a carriage return

CTRL-L

Clear the screen

ESC+B

Move back one word, or to the beginning of the current word if the cursor is not at the start of the word