Ch.8 Advanced Keyboard Tricks Flashcards

1
Q

What does clear do?

A

Clear the Screen

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

What does history do?

A

Display the contents of the history list

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

What keys delete the character at the cursor location

A

Ctrl-d

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

What keys transpose (exchange) the character at the cursor location with the one preceding it?

A

ctrl-t

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

what keys transpose the word at the cursor location with the one preceding it?

A

Alt-t

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

What keys convert the characters from the cursor location to the end of the world to lowercase?

A

alt-l

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

What keys convert the characters from the cursor location to the end of the word to uppercase?

A

Alt-u

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

What does killing and yanking mean?

A

cutting and pasting

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

Where are items that are cut stored?

A

in a buffer (a temporary storage area in memory) called the kill-ring

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

What keys kill text from the cursor location to the end of line?

A

Ctrl-k

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

What keys kill text from the cursor location to the beginning of the line?

A

ctrl-u

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

What keys kill text from the cursor location to the end of the current word.

A

alt-d

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

what keys kill text from the cursor location to the beginning of the current word. if the cursor is at the beginning of a word, kill the previous word?

A

Alt-Backspace

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

What keys yank text from the kill-ring and insert it at the cursor location?

A

ctrl-y

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

What occurs when we press the tab key while typing a command?

A

Completion

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

What keys display a list of possible completions?

A

Alt-? or Double tab

17
Q

what keys insert all possible completions?

A

Alt-*

18
Q

How would you use history expansion to bash command line 88?

A

!88

19
Q

What history command moves to the previous history entry

A

ctrl-p

20
Q

what history command moves to the next history entry

A

ctrl-n

21
Q

what history commands moves to the beginning (top) of the history list?

A

Alt-

22
Q

what history command moves to the end (bottom) of the history list?

A

Alt->

23
Q

What history command reverses incremental search (this searches incrementally from the current command line up the history list)?

A

Ctrl-r

24
Q

what history command reverse searches, nonincremental

A

Alt-p

25
Q

What history command forward searches, nonincremental

A

Alt-n

26
Q

What history command executes the current item in the history list and advances to the next one. This is handy if we are trying to re-execute a sequence of
commands in the history list.

A

ctrl-o

27
Q

What history expansion coommand repeats the last command.

A

!!