David Harton
Quiz por , criado more than 1 year ago

Quiz sobre Linux Essentials Chapter 4 Exam, criado por David Harton em 08-06-2018.

423
0
0
Sem etiquetas
David Harton
Criado por David Harton aproximadamente 6 anos atrás
Fechar

Linux Essentials Chapter 4 Exam

Questão 1 de 18

1

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

Selecione uma ou mais das seguintes:

  • opera

  • Virtual Terminal

  • Terminal window

  • firefox

Explicação

Questão 2 de 18

1

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

Selecione uma ou mais das seguintes:

  • PATH

  • PS2

  • PS1

  • EXEC

Explicação

Questão 3 de 18

1

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

Selecione uma ou mais das seguintes:

  • what

  • where

  • which

Explicação

Questão 4 de 18

1

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

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 5 de 18

1

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

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 6 de 18

1

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?

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 7 de 18

1

Which of the following are glob characters?
(choose three)

Selecione uma ou mais das seguintes:

  • The asterisk “*”

  • The question mark “?”

  • The dash character “-“

  • The square brackets “[” and “]”

Explicação

Questão 8 de 18

1

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

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 9 de 18

1

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?

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 10 de 18

1

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

Selecione uma ou mais das seguintes:

  • display

  • type

  • print

  • echo

Explicação

Questão 11 de 18

1

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

Selecione uma ou mais das seguintes:

  • eval

  • history

  • list

  • exec

Explicação

Questão 12 de 18

1

To execute the same command as previously executed five commands ago, you would type:

Selecione uma ou mais das seguintes:

  • &5

  • !-5

  • @-5

  • !5

Explicação

Questão 13 de 18

1

The shell program interprets the commands you type into the terminal, into instructions that the Linux operating system can execute.
True or False?

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 14 de 18

1

The acronym CLI stands for:

Selecione uma ou mais das seguintes:

  • Command Line Interpreter

  • Computer Link Interpreter

  • Computer Line Interface

  • Command Line Interface

Explicação

Questão 15 de 18

1

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

Selecione uma ou mais das seguintes:

  • LINUX

  • Kernel

  • GNU

  • shell

Explicação

Questão 16 de 18

1

The acronym GNU stands for:

Selecione uma ou mais das seguintes:

  • Gnu’s Not Unix

  • Good News Unix

  • Gnu’s Nearly Unix

  • Go Next Unit

Explicação

Questão 17 de 18

1

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

Selecione uma ou mais das seguintes:

  • #

  • /

  • %

  • \

Explicação

Questão 18 de 18

1

The main purpose of using glob characters is to be able to provide a command a list of filenames.
True or False?

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação