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 almost 6 years ago
400
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

Jekyll and Hyde
elliesussex
Geography Restless Earth
sophieelizabeth
IB Economics SL: Microeconomics
Han Zhang
The Wife of Bath Critics
rlshindmarsh
Macbeth Notes
Bella Ffion Martin
Certification Prep_1
Tonya Franklin
The Skeletal System - PE GCSE EdExcel
GeorgeHaines
Germany 1918-39
Cam Burke
Longevidad y Envejecimiento Fisiológico
Isaac Alexander
Dr Jekyll and Mr Hyde
rachel allan
2PR101 1.test - 4. část
Nikola Truong