Question 1
Question
Select all the applications that provide access to the Command Line Interface (CLI)?
Answer
-
opera
-
Virtual Terminal
-
Terminal
-
firefox
Question 2
Question
Which environment variable contains a list of directories that is searched for commands to execute?
Question 3
Question
Select the command that can report the location of a command:
Question 4
Question
A pair of single quotes ( ‘ ) will prevent the shell from interpreting any metacharacter.
Question 5
Question
A pair of double quotes ( ” ) will prevent the shell from interpreting any metacharacter.
Question 6
Question
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.
Question 7
Question
Which of the following are glob characters?
Question 8
Question
The semicolon “;” can be used to separate multiple commands to be executed in order.
Question 9
Question
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.
Question 10
Question
To be able to output messages to the screen, use the [blank_start]echo[blank_end] command:
Question 11
Question
The [blank_start]history[blank_end] command will print a list of the commands that you’ve previously executed.
Question 12
Question
To execute the same command as previously executed five commands ago, you would type:
Question 13
Question
The shell program interprets the commands you type into the terminal, into instructions that the Linux operating system can execute.
Question 14
Question
The acronym CLI stands for:
Question 15
Question
Traditional UNIX command options used a single dash, like -a; [blank_start]GNU[blank_end] command options use two dashes like –all.
Question 16
Question
The acronym GNU stands for:
Answer
-
Gnu’s Not Unix
-
Good News Unix
-
Gnu’s Nearly Unix
-
Go Next Unit
Question 17
Question
The main purpose of using glob characters is to be able to provide a command a list of filenames.
Question 18
Question
What one character treats the character that follows it as if it was surrounded by single quotes?