Search Header Logo

Linux Shell Quiz

Authored by Dinmukhamed Elubay

Computers

12th Grade

Used 7+ times

Linux Shell Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

PS1

PS2

EXEC

PATH

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

what

which

where

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A pair of single quotes (') will prevent the shell from interpreting any metacharacter. True or False?

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A pair of double quotes (") will prevent the shell from interpreting any metacharacter. True or False?

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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 or False?

False

True

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The semicolon (;) can be used to separate multiple commands to be executed in order. True or False?

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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. True or False?

False

True

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?