Hoofdstuk 4 Flashcards

1
Q

Select from the following commands those which can report the location of a command: - 4.8

A

which

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

A pair of single quotes ( ‘ ) will prevent the shell from interpreting any metacharacter. - 4.11.2

A

True

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

A pair of double quotes ( “ ) will prevent the shell from interpreting any metacharacter. 4.11.1

A

False

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

Using a pair of back quotes ( ` ) will cause a shell to execute the back-quoted text as a command and substitute the output back into the original command. - 4.11.4

A

True

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

Which of the following are glob characters? 4.10

A

The asterisk “*”
The question mark “?”
The square brackets “[” and “]”

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

The semicolon “;” can be used to separate multiple commands to be executed in order. 4.12.1

A

True

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

To be able to output messages to the screen use the _______ command: 4.6

A

echo

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

The _______ command will print a list of the commands that you’ve previously executed. - 4.5

A

history

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

The acronym CLI stands for: - 4.3

A

Command Line Interface

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

The acronym GNU stands for: 4.4.4

A

Gnu’s Not Unix

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

Select all the applications that provide access to the Command Line Interface (CLI)? 4.4

A

Terminal window

Virtual Terminal

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

Which environment variable contains a list of directories that is searched for commands to execute? 4.7

A

Path

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

The double ampersand characters ( && ) are used to separate commands to be executed conditionally, where if the command to the left of the ampersands fails, then the command to the right of the ampersands will be executed. - 4.12.2

A

False

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

The shell program is what interprets the commands you type into the terminal into instructions that the Linux Operating System can execute. 4.4.2

A

True

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

What one character treats the character that follows it as if it was surrounded by single quotes? 4.11.3

A

\

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

The main purpose of using glob characters is to be able to provide a command a list of filenames. - 4.10

A

True

17
Q

Traditional UNIX command options used a single dash, like -a; _______ command options use two dashes like –all. 4.4.4

A

GNU