Startup and General Configuration Summary
2-12 Startup and General Configuration
Ctrl+E Move cursor to end of line.
Ctrl+F Move cursor forward one character.
Ctrl+H Delete character to left of cursor.
Ctrl+I or TAB Complete word.
Ctrl+K Delete all characters after cursor.
Ctrl+L or Ctrl+R Re-display line.
Ctrl+N Scroll to next command in command history (use the CLI history command to
display the history).
Ctrl+P Scroll to previous command in command history.
Ctr1+Q Resume the CLI process.
Ctr1+S Pause the CLI process (for scrolling).
Ctrl+T Transpose characters.
Ctrl+U or Ctrl+X Delete all characters before cursor.
Ctrl+W Delete word to the left of cursor.
Ctrl+Y Restore the most recently deleted item.
h Move left one character
l Move right one character
k Get previous shell command in history
j Get next shell command in history
$ Go to end of line
0 Go to beginning of line
a Append
A Append at end of line
c SPACE Change character
cl Change character
cw Change word
cc Change entire line
c$ Change everything from cursor to end of line
iInsert
I Insert at beginning of line
R Type over characters
nrc Replace the following n characters with c
nx Delete n characters starting at cursor
nX Delete n characters to the left of the cursor
d SPACE Delete character
Figure 2-7 Basic Line Editing Emacs & vi Commands (continued)
Key Sequence Emacs Command