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

A

CTRL-k

20
Q

go to start of line (home)

A

CTRL-a

21
Q

go to end of line (end)

A

CTRL-e

22
Q

go backwards without deleting

A

CTRL-b

23
Q

go forward without deleting

A

CTRL-f

24
Q

complete filename or command up to the point of uniqueness

A

TAB

25
Q

cancel from cursor to beginning of line

A

CTRL-u

26
Q

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

A

CTRL-p

27
Q

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

A

CURSOR-up

28
Q

go forwards in the history of commands

A

CTRL-n

29
Q

go forwards in the history of commands

A

CURSOR-down

30
Q

cancel the processes after it has started

A

CTRL-c

31
Q

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)

A

CTRL-z

32
Q

redraws the screen

A

CTRL-l

33
Q

Open mode CTRL-d

A

signals end of file

34
Q

CTRL-s

A

suspends the screen display

35
Q

CTRL-q

A

restarts suspended display

36
Q

signals end of file

A

Open mode CTRL-d

37
Q

suspends the screen display

A

CTRL-s

38
Q

restarts suspended display

A

CTRL-q

39
Q

deletes word before cursor

A

CTRL-w

40
Q

advance word left

A

ALT-left

41
Q

advance word right

A

ALT-right

42
Q

run that last command in history

A

!-command

43
Q

CTRL-w

A

deletes word before cursor

44
Q

ALT-left

A

advance word left

45
Q

ALT-right

A

advance word right

46
Q

!-command

A

run that last command in history