
Linux Administration Bootcamp: Go from Beginner to Advanced - Striping out Comments and Blank Lines
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the -E option in the grep command enable?
Inverted matches
Extended regular expressions
Case-insensitive search
Recursive search
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In regular expressions, what does the caret (^) symbol represent?
End of a line
Beginning of a line
A comment line
A blank line
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the pipe (|) in regular expressions?
To denote the start of a line
To denote the end of a line
To act as an 'or' operator
To comment out a line
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is a blank line represented in regular expressions?
^$
^#
#$
$^
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What was the effect of using the grep command on the configuration file in the example?
It increased the number of lines
It removed comments and blank lines
It duplicated the lines
It added more comments
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?