CH5 Flashcards

1
Q

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

PATH
PS1
PS2
EXEC

A

PATH

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

Select the command that can report the location of a command?

what
which
where

A

which

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

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

True
False

A

True

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

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

True
False

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
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?

True
False

A

True

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?

True
False

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?

echo
print
display
type

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?

list
eval
history
exec

A

history

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

The acronym CLI stands for?

Computer Line Interface
Command Line Interpreter
Command Line Interface
Computer Link Interpreter

A

Command Line Interface

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

The most common shell used for Linux distributions is the ____ shell?

Fish
Bash
Tsch
Zsh

A

Bash

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