What is the effect of the egrep command when the -v option is used?
Suggested Answer: C
Get Premium 101-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
34 comments · newest first
RE
Refugia
11 months ago
Yeah, B is the correct answer for sure!
BE
Becky
11 months ago
Definitely not A, that's misleading.
JE
Jess
11 months ago
Wait, are you sure? I thought it highlighted matches.
BE
Beckie
12 months ago
Totally agree, that's what -v does!
KI
Kirk
12 months ago
It only outputs non-matching lines.
IS
Isidra
1 year ago
I definitely recall that the -v option is used to invert the match, so it should be about non-matching lines. That seems to fit with what I studied.
ER
Erin
1 year ago
I feel like I might confuse this with another command. Wasn't there something about showing version info? But I think that's not related to -v.
BE
Beckie
1 year ago
I remember practicing a question about egrep, and I think the -v option does output non-matching lines. That sounds right to me.
TA
Tamie
1 year ago
I think the -v option in egrep is supposed to filter out something, but I'm not entirely sure if it's non-matching lines or something else.
GL
Glynda
1 year ago
Hmm, I'm a bit unsure about this one. The options don't seem to be directly related to the -v flag. I'll have to think about it a bit more, but I'm going to go with option B for now and hope for the best.
WE
Werner
1 year ago
Ah, the old egrep question. I remember this one from the practice exams. The -v option is for "invert match", so it will print out the lines that don't match the pattern. Easy peasy, option B is the way to go.
WH
Whitley
1 year ago
Okay, let me think this through. The question is asking about the effect of the -v option, so it's probably not going to be something like changing the output order or showing version info. I'm leaning towards option B, but I'll double-check the other options just to be sure.
MO
Mollie
1 year ago
Hmm, this one seems straightforward. I think the -v option in egrep is used to invert the match, so it should output the non-matching lines. I'll go with option B.
MA
Maricela
1 year ago
Highlight matching parts? Nah, I need to see the non-matching stuff. egrep -v is my go-to for that.
RO
Rosio
1 year ago
A) It only outputs non-matching lines.
LE
Leontine
1 year ago
Highlight matching parts? Nah, I need to see the non-matching stuff. egrep -v is my go-to for that.
GE
Gene
1 year ago
B) It only outputs non-matching lines.
PE
Pearlene
1 year ago
A) It only outputs non-matching lines.
KA
Kathryn
1 year ago
Haha, changing the output order? That's a good one! egrep -v is the real deal, simple and effective.
MA
Mable
1 year ago
I use egrep -v all the time to make my searches more precise.
LU
Luann
1 year ago
Yes, it's great for excluding specific patterns from the output.
ID
Idella
1 year ago
I agree, egrep -v is really handy for filtering out unwanted lines.
EL
Elke
1 year ago
Option C? Really? Who needs the version info when you're trying to filter text? Clearly, the egrep -v is the way to go.
FR
Francoise
1 year ago
I always use egrep -v to filter out non-matching lines. It's really useful.
MA
Madelyn
1 year ago
I think option D is the right choice. It changes the output order showing the last matching line first.
BE
Beckie
1 year ago
I agree, option B is the correct one. It only outputs non-matching lines.
MA
Malcolm
2 years ago
I always get confused between -v and -i options. But I guess -v is the one that gives me the opposite of what I'm searching for. Nice one!
LE
Leontine
1 year ago
Exactly! It's a handy option to filter out what you're not looking for.
PE
Pearlene
1 year ago
I always remember it as 'v' for 'invert' - it inverts the search to show what doesn't match.
LO
Loreen
1 year ago
Yes, that's correct. The -v option in egrep shows only non-matching lines.
CR
Cristal
2 years ago
Option B is correct! egrep -v shows the non-matching lines, which is really useful for filtering out unwanted data.
KA
Kati
2 years ago
I agree with Leila, because the -v option in egrep is used to invert the match, showing only lines that do not match the pattern.
LE
Leila
2 years ago
I think the answer is B) It only outputs non-matching lines.
AN
Andree
2 years ago
What is the effect of the egrep command when the -v option is used?