Linux Essentials Chapter 4 Exam

Description

Quiz on Linux Essentials Chapter 4 Exam, created by David Harton on 08/06/2018.
David Harton
Quiz by David Harton, updated more than 1 year ago
David Harton
Created by David Harton about 6 years ago
421
0

Resource summary

Question 1

Question
Select all the applications that provide access to the Command Line Interface (CLI)? (choose two)
Answer
  • opera
  • Virtual Terminal
  • Terminal window
  • firefox

Question 2

Question
Which environment variable contains a list of directories that is searched for commands to execute?
Answer
  • PATH
  • PS2
  • PS1
  • EXEC

Question 3

Question
Select the command that can report the location of a command:
Answer
  • what
  • where
  • which

Question 4

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

Question 5

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

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

Question 7

Question
Which of the following are glob characters? (choose three)
Answer
  • The asterisk “*”
  • The question mark “?”
  • The dash character “-“
  • The square brackets “[” and “]”

Question 8

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

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

Question 10

Question
To be able to output messages to the screen, use the _______ command:
Answer
  • display
  • type
  • print
  • echo

Question 11

Question
The _______ command will print a list of the commands that you’ve previously executed.
Answer
  • eval
  • history
  • list
  • exec

Question 12

Question
To execute the same command as previously executed five commands ago, you would type:
Answer
  • &5
  • !-5
  • @-5
  • !5

Question 13

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

Question 14

Question
The acronym CLI stands for:
Answer
  • Command Line Interpreter
  • Computer Link Interpreter
  • Computer Line Interface
  • Command Line Interface

Question 15

Question
Traditional UNIX command options used a single dash, like -a; _______ command options use two dashes like –all.
Answer
  • LINUX
  • Kernel
  • GNU
  • shell

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
What one character treats the character that follows it as if it was surrounded by single quotes?
Answer
  • #
  • /
  • %
  • \

Question 18

Question
The main purpose of using glob characters is to be able to provide a command a list of filenames. True or False?
Answer
  • True
  • False
Show full summary Hide full summary

Similar

German- Intermediate
PatrickNoonan
Vocabulário Inglês Básico
miminoma
C6 Flash cards
Anna Hollywood
AS Unit 1 Physics Flashcard Deck
Callum McClintock
CHEMISTRY C1 7
x_clairey_x
B5 - Growth and Deveolopment
blairzy123
Novidades: Mapas Mentais de ExamTime
miminoma
Exchange surfaces and breathing
megan.radcliffe16
PSBD TEST # 3_1
Suleman Shah
Using GoConqr to teach French
Sarah Egan
GoConqr Guide to Flowcharts for Business
Sarah Egan