02-03 Command-line editing shortcuts Flashcards
Tab
completes a partial command entry
Backspace
deletes character to the LEFT of the cursor
CTRL-D
deletes the character AT the cursor
hint: ⬇
CTRL-K
deletes FROM the cursor TO the end of the line
ESC-D
deletes the characters FROM the cursor to the END of the WORD
CTRL-U, CTRL-X
deletes the characters FROM the cursor to the BEGINNING of the line
hint: ➰
CTRL-W
Erases the WORD to the LEFT of the cursor
CTRL-A
moves the cursor to the BEGINNING of the line
CTRL-E
moves the cursor to END of the line
LEFT ARROW
moves cursor one character to the LEFT
CTRL-B
moves cursor one character to the LEFT
ESC-B
move cursor BACK one WORD to the LEFT
ESC-F
moves cursor FORWARD one WORD to the RIGHT
RIGHT ARROW
moves cursor FORWARD one character to the RIGHT
CTRL-F
moves cursor FORWARD one character to the RIGHT