tema 4 linux

Description

Quiz on tema 4 linux, created by Daniel Ortega Ortega on 28/11/2016.
Daniel  Ortega Ortega
Quiz by Daniel Ortega Ortega, updated more than 1 year ago
Daniel  Ortega Ortega
Created by Daniel Ortega Ortega over 7 years ago
26
2

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 backquoted 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

Key Shakespeare Facts
Andrea Leyden
MCAT Study Plan
Alice McClean
GCSE Biology, Module B4
jessmitchell
Cold War Causes Revision
Tom Mitchell
History- Medicine through time key figures
gemma.bell
8 Motivational Quotes for Students
Andrea Leyden
Haemoglobin
Elena Cade
AS Biology Unit 1
lilli.atkin
PSYA1 - attachment, AQA psychology
T W
Creating Mind Maps with GoConqr
Andrea Leyden
Acids and Bases quiz
Derek Cumberbatch