NDG Linux Essentials 2.21 Final Chapter 10-18 Exam

NDG Linux Essentials 2.21 Final Chapter 10-18 Exam

Assessment

Quiz

Computers

University

Medium

Created by

Nick undefined

Used 5+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A pipe allows you to...

send the same input to multiple commands.

send the output of one command to another.

send the output of a command to a file.

type multiple commands at one prompt.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Channel 2 is:

STDALL

STDIN

STDOUT

STDERR

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The grep command...

is not case sensitive.

will display all the lines that begin with the specified Regular Expression.

will display all the lines in a file containing the specified Regular Expression.

will display the line numbers in a file that contain a specified Regular Expression.

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following commands can be used to scroll through a text file? (choose two)

cat

sort

less

more

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command can be used to print line numbers?

num

nl

sort

ln

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which are appropriate editors for writing shell scripts? (choose two)

LibreOffice Writer

/bin/bash

vi

nano

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are correct about for and while loops? (choose two)

while loops have a test each cycle to determine if it should run again

for loops require a variable over which to iterate

for loops have a test each cycle to determine if it should run again

for loops operate over a fixed list of items

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?