Sec. 7: Searching and Extracting Data from Files and Archiving

Quiz
•
Instructional Technology
•
University
•
Medium

Renato Biz Martins
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pipes or command-pipelines help users mash-up two or more commands at the same time and run them consecutively.
True
False
Answer explanation
True, by using a command pipe (|), a user can enter two or more commands in a series or chain.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The grep command allows you to:
Rename a file or directory
Search for files that contain a specified string
Repeat the previous command
Answer explanation
Grep is used to search for a specific string or regular expression within a file.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which redirection operator accepts text on the following lines as standard input
<>
>>
<<
Answer explanation
The << operator allows the user to accept text on the following lines as standard input.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The two forms of commonly used regular expressions: basic and complicated.
True
False
Answer explanation
There are also two types of regular expressions: basic and extended.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The regular expression b[aeiou]g will match the words:
bag, beg, big
bag, beg, big, bog, bug
baeioug
Answer explanation
The regular expression b[aeiou]g will search for any three letter words that begin with b, end with g, and have a vowel as the second letter.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the redirection operator <> do?
Accepts text on the following lines as standard input.
Causes the specified file to be used for both standard input and standard output.
Sends the contents of the specified file to be used as standard input.
Answer explanation
The <> redirection operator will let the file be used for input and output.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Two types of output messages
Manual and Automatic messages
Standard Output and Input messages
Standard Output and Standard Error messages
Answer explanation
Standard Output and Standard Error messages are the two different types of output messages within Linux.
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Sensor

Quiz
•
University
10 questions
RTU

Quiz
•
University - Professi...
10 questions
TERMS OF DATABASE

Quiz
•
4th Grade - University
8 questions
Quiz Inteligencia Artificial

Quiz
•
University
10 questions
Sec. 5: The Command Line

Quiz
•
University
10 questions
GR 398: ADVANCE IT

Quiz
•
University
10 questions
Removal Exam for PM-108

Quiz
•
University
10 questions
IOT DAY 1

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade