13 Typing shortcuts Flashcards
1
Q
all recently entered commands
A
history
2
Q
n_th history entry
A
!
3
Q
previous command
A
!!, !-1
4
Q
previous command line minus first word
A
!*
5
Q
repetition of entire command sequences
A
ctrl - o
works on mac??
6
Q
search a string in history
A
ctrl-r
press again for previous matches
7
Q
how does bash interpret the raw key entry and format the cursor position etc…
A
readline line editor library
8
Q
move to start/end
A
ctrl-a
ctrl-e
9
Q
deletes (kills) the rest of the line
A
Ctrl-K
10
Q
deletes a word (first letter to cursor)
A
Ctrl-W
11
Q
inserts deleted strings
A
Ctrl-Y
12
Q
performs history expansion on current line
A
ESC ˆ
13
Q
turns current line into a comment
A
ESC #