Chapter 2 Exam Flashcards

1
Q

Which term describes the interpreter that executes commands typed as strings?

A
Command

B
Console

C
Shell

D
Terminal

A

C. Shell

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

Which term describes the visual cue that indicates an interactive shell is waiting for the user to type a command?

A
Argument

B
Command

C
Option

D
Prompt

A

D

Prompt

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

Which term describes the name of a program to run?

A
Argument

B
Command

C
Option

D
Prompt

A

D

Prompt

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

Which term describes the name of a program to run?

A
Argument

B
Command

C
Option

D
Prompt

A

B

Command

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

Which term describes the part of the command line that adjusts the behavior of a command?

A
Argument

B
Command

C
Option

D
Prompt

A

C

Option

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

Which term describes the part of the command line that specifies the target that the command should operate on?

A
Argument

B
Command

C
Option

D
Prompt

A

A

Argument

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

Which term describes the hardware display and keyboard used to interact with a system?

A
Physical Console

B
Virtual Console

C
Shell

D
Terminal

A

A

Physical Console

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

Which term describes one of multiple logical consoles that can each support an independent login session?

A
Physical Console

B
Virtual Console

C
Shell

D
Terminal

A

B

Virtual Console

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

Which term describes an interface that provides a display for output and a keyboard for input to a shell session?

A
Console

B
Virtual Console

C
Shell

D
Terminal

A

D

Terminal

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

Which Bash shortcut or command jumps to the beginning of the previous word on the command line?

A
Pressing Ctrl+LeftArrow

B
Pressing Ctrl+K

C
Pressing Ctrl+A

D
!string

E
!number

A

A

Pressing Ctrl+LeftArrow

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

Which Bash shortcut or command separates commands on the same line?

A
Pressing Tab

B
history

C
;

D
!string

E
Pressing Esc+.

A

C

;

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

Which Bash shortcut or command is used to clear characters from the cursor to the end of the command line?

A
Pressing Ctrl+LeftArrow

B
Pressing Ctrl+K

C
Pressing Ctrl+A

D
;

E
Pressing Esc+.

A

B

Pressing Ctrl+K

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

Which Bash shortcut or command is used to re-execute a recent command by matching the command name?

A
Pressing Tab

B
!number

C
!string

D
history

E
Pressing Esc+.

A

C

!string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Which Bash shortcut or command is used to complete commands, file names, and options?

A
;

B
!number

C
history

D
Pressing Tab

E
Pressing Esc+.

A

D

Pressing Tab

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

Which Bash shortcut or command re-executes a specific command in the history list?

A
Pressing Tab

B
!number

C
!string

D
history

E
Pressing Esc+.

A

B

!number

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

Which Bash shortcut or command jumps to the beginning of the command line?

A
!number

B
!string

C
Pressing Ctrl+LeftArrow

D
Pressing Ctrl+K

E
Pressing Ctrl+A

A

E

Pressing Ctrl+A

17
Q

Which Bash shortcut or command displays the list of previous commands?

A
Pressing Tab

B
!string

C
!number

D
history

E
Pressing Esc+.

A

D

history

18
Q

Which Bash shortcut or command copies the last argument of previous commands?

A
Pressing Ctrl+K

B
Pressing Ctrl+A

C
!number

D
Pressing Esc+.

A

D

Pressing Esc+.