Shell Flashcards

1
Q

Delete the character to the left of the insertion point.

A

Control-H Or use Delete.

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

Delete the character to the right of the insertion point.

A

Control-D Or use Fn-Delete.

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

Forward delete on keyboards that don’t have a Forward Delete key.

A

Control-D.

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

Page Up — Scroll up one page.

A

Fn-Up Arrow

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

Page Down — Scroll down one page.

A

Fn-Down Arrow

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

Home — Scroll to the beginning of a document.

A

Fn-Left Arrow

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

End — Scroll to the end of a document.

A

Fn-Right Arrow

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

Command-Left Arrow

A

Move the insertion point to the beginning of the current line.

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

Command-Right Arrow

A

Move the insertion point to the end of the current line.

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

Option-Left Arrow

A

Move the insertion point to the beginning of the previous word.

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

Option-Right Arrow

A

Move the insertion point to the end of the next word.

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

Shift-Command-Left Arrow

A

Select the text between the insertion point and the beginning of the current line.

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

Shift-Command-Right Arrow

A

Select the text between the insertion point and the end of the current line.

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

Shift-Up Arrow

A

Extend text selection to the nearest character at the same horizontal location on the line above.

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

Shift-Down Arrow

A

Extend text selection to the nearest character at the same horizontal location on the line below.

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

Shift-Left Arrow

A

Extend text selection one character to the left.

17
Q

Shift-Right Arrow

A

Extend text selection one character to the right.

18
Q

Option-Shift-Left Arrow

A

Extend text selection to the beginning of the current word then to the beginning of the following word if pressed again.

19
Q

Option-Shift-Right Arrow

A

Extend text selection to the end of the current word then to the end of the following word if pressed again.

20
Q

Control-A

A

Move to the beginning of the line or paragraph.

21
Q

Control-E

A

Move to the end of a line or paragraph.

22
Q

Control-F

A

Move one character forwards.

23
Q

Control-B

A

Move one character backwards.

24
Q

Control-L

A

Centre the cursor or selection in the visible area.

25
Control-P
Move up one line.
26
Control-N
Move down one line.
27
Control-T
Swap the character behind the insertion point with the character in front of the insertion point.
28
Recursively find file
find . -name "test*"
29
Search history
Control + r
30
Navi Shell Snippets
Control + g