Editing Keystrokes

When entering a command, special keystrokes allow for editing of the command. Table: Command Editing Keystrokes lists the command editing keystrokes.

Table: Command Editing Keystrokes

Editing Action

Keystrokes

Stop current command

Ctrl-c

Delete current character

Ctrl-d

Delete text up to cursor

Ctrl-u

Delete text after cursor

Ctrl-k

Move to beginning of line

Ctrl-a

Move to end of line

Ctrl-e

Get prior command from history

Ctrl-p

Get next command from history

Ctrl-n

Move cursor left

Ctrl-b

Move cursor right

Ctrl-f

Move back one word

Esc-b

Move forward one word

Esc-f

Convert rest of word to uppercase

Esc-c

Convert rest of word to lowercase

Esc-l

Delete remainder of word

Esc-d

Delete word up to cursor

Ctrl-w

Transpose current and previous character

Ctrl-t

Enter command and return to root prompt

Ctrl-z

Refresh input line

Ctrl-l