Linux Essentials – Chapter 04 Exam Answers 2019 + PDF file

How to find: Press “Ctrl + F” in the browser and fill in whatever wording is in the question to find that question/answer. If the question is not here, find it in Questions Bank.

NOTE: If you have the new question on this test, please comment Question and Multiple-Choice list in form below this article. We will update answers for you in the shortest time. Thank you! We truly value your contribution to the website.

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

  • opera
  • Virtual Terminal
  • Terminal window
  • firefox

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

  • PATH
  • PS2
  • PS1
  • EXEC

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

  • what
  • where
  • which

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

  • True
  • False

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

  • True
  • False

6. 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?

  • True
  • False

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

  • The asterisk “*”
  • The question mark “?”
  • The dash character “-“
  • The square brackets “[” and “]”

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

  • True
  • False

9. 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?

  • True
  • False

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

  • display
  • type
  • print
  • echo

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

  • eval
  • history
  • list
  • exec

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

  • &5
  • !-5
  • @-5
  • !5

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

  • True
  • False

14. The acronym CLI stands for:

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

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

  • Kernel
  • GNU
  • shell

16. The acronym GNU stands for:

  • Gnu’s Not Unix
  • Good News Unix
  • Gnu’s Nearly Unix
  • Go Next Unit

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

  • #
  • /
  • %
  • \

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

  • True
  • False

Download PDF File below:

Notify of

1 Comment
Inline Feedbacks
View all comments
1 year ago

The echo command:

  • Tests a variable for duplication
  • Copies variables from one to another
  • Is used to output text to the console
  • Duplicates the input stream to the output stream
  • Is used for variable assignment