Bash Shortcuts Flashcards
1
Q
CTRL + c
A
Stop current command
2
Q
CTRL + z
A
Sleep Program
3
Q
CTRL + a
A
Go to start of a line
4
Q
CTRL+ e
A
Go to end of a line
5
Q
CTRL + u
A
Cut from the start of the line
6
Q
CTRL + k
A
Cut to the end of a line
7
Q
CTRL + r
A
Search History
8
Q
!!
A
Repeat Last Command
9
Q
!abc
A
Run last command starting with abc
10
Q
!abc.p
A
Print last command starting with abc
11
Q
!$
A
Last argument of previous command
12
Q
ALT + .
A
Last argument of previous command