Command Line Shortcuts Flashcards

1
Q

Backspace

A

delete previous character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CTRL-d

A

delete current character (like a windows delete key)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CTRL-k

A

delete rest of line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CTRL-a

A

go to start of line (home)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CTRL-e

A

go to end of line (end)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CTRL-b

A

go backwards without deleting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

CTRL-f

A

go forward without deleting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

TAB

A

complete filename or command up to the point of uniqueness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

CTRL-u

A

cancel from cursor to beginning of line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

CTRL-p

A

show the last command typed, then the one before that, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

CURSOR-up

A

show the last command typed, then the one before that, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

CTRL-n

A

go forwards in the history of commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

CURSOR-down

A

go forwards in the history of commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

CTRL-c

A

cancel the processes after it has started

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

CTRL-z

A

suspend a running process (e.g. in order to do something else in between; you can then put the process in the background with bg)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

CTRL-l

A

redraws the screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

delete previous character

A

Backspace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

delete current character (like a windows delete key)

A

CTRL-d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

delete rest of line

20
Q

go to start of line (home)

21
Q

go to end of line (end)

22
Q

go backwards without deleting

23
Q

go forward without deleting

24
Q

complete filename or command up to the point of uniqueness

25
cancel from cursor to beginning of line
CTRL-u
26
show the last command typed, then the one before that, etc.
CTRL-p
27
show the last command typed, then the one before that, etc.
CURSOR-up
28
go forwards in the history of commands
CTRL-n
29
go forwards in the history of commands
CURSOR-down
30
cancel the processes after it has started
CTRL-c
31
suspend a running process (e.g. in order to do something else in between; you can then put the process in the background with bg)
CTRL-z
32
redraws the screen
CTRL-l
33
Open mode CTRL-d
signals end of file
34
CTRL-s
suspends the screen display
35
CTRL-q
restarts suspended display
36
signals end of file
Open mode CTRL-d
37
suspends the screen display
CTRL-s
38
restarts suspended display
CTRL-q
39
deletes word before cursor
CTRL-w
40
advance word left
ALT-left
41
advance word right
ALT-right
42
run that last command in history
!-command
43
CTRL-w
deletes word before cursor
44
ALT-left
advance word left
45
ALT-right
advance word right
46
!-command
run that last command in history