Command-Line Keystrokes Flashcards
1
Q
Move the cursor left
A
Ctrl-b
2
Q
move the cursor right
A
ctrl-f
3
Q
ctrl p
A
view the previous command (or move the cursor up)
4
Q
ctrl - n
A
view the next command (or move the cursor down)
5
Q
ctrl a
A
move the cursor to the beginning of the line
6
Q
ctrl - e
A
move the cursor to the end of the line
7
Q
ctrl w
A
erase the preceding word
8
Q
ctrl u
A
erase from the cursor to the beginning of the line
9
Q
ctrl k
A
erase from the cursor to the end of the line
10
Q
ctrl y
A
paste erased text (for example, from ctrl u)