New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 1 Question 107 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 107
Topic #: 1
[All 101-500 Questions]

What is the effect of the egrep command when the -v option is used?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Refugia
3 months ago
Yeah, B is the correct answer for sure!
upvoted 0 times
...
Becky
3 months ago
Definitely not A, that's misleading.
upvoted 0 times
...
Jess
3 months ago
Wait, are you sure? I thought it highlighted matches.
upvoted 0 times
...
Beckie
4 months ago
Totally agree, that's what -v does!
upvoted 0 times
...
Kirk
4 months ago
It only outputs non-matching lines.
upvoted 0 times
...
Isidra
4 months 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.
upvoted 0 times
...
Erin
4 months 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.
upvoted 0 times
...
Beckie
4 months ago
I remember practicing a question about egrep, and I think the -v option does output non-matching lines. That sounds right to me.
upvoted 0 times
...
Tamie
5 months 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.
upvoted 0 times
...
Glynda
5 months 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.
upvoted 0 times
...
Werner
5 months 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.
upvoted 0 times
...
Whitley
5 months 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.
upvoted 0 times
...
Mollie
5 months 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.
upvoted 0 times
...
Maricela
9 months ago
Highlight matching parts? Nah, I need to see the non-matching stuff. egrep -v is my go-to for that.
upvoted 0 times
Rosio
8 months ago
A) It only outputs non-matching lines.
upvoted 0 times
...
Leontine
8 months ago
Highlight matching parts? Nah, I need to see the non-matching stuff. egrep -v is my go-to for that.
upvoted 0 times
...
Gene
8 months ago
B) It only outputs non-matching lines.
upvoted 0 times
...
Pearlene
8 months ago
A) It only outputs non-matching lines.
upvoted 0 times
...
...
Kathryn
9 months ago
Haha, changing the output order? That's a good one! egrep -v is the real deal, simple and effective.
upvoted 0 times
Mable
8 months ago
I use egrep -v all the time to make my searches more precise.
upvoted 0 times
...
Luann
9 months ago
Yes, it's great for excluding specific patterns from the output.
upvoted 0 times
...
Idella
9 months ago
I agree, egrep -v is really handy for filtering out unwanted lines.
upvoted 0 times
...
...
Elke
10 months 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.
upvoted 0 times
Francoise
8 months ago
I always use egrep -v to filter out non-matching lines. It's really useful.
upvoted 0 times
...
Madelyn
9 months ago
I think option D is the right choice. It changes the output order showing the last matching line first.
upvoted 0 times
...
Beckie
9 months ago
I agree, option B is the correct one. It only outputs non-matching lines.
upvoted 0 times
...
...
Malcolm
10 months 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!
upvoted 0 times
Leontine
9 months ago
Exactly! It's a handy option to filter out what you're not looking for.
upvoted 0 times
...
Pearlene
10 months ago
I always remember it as 'v' for 'invert' - it inverts the search to show what doesn't match.
upvoted 0 times
...
Loreen
10 months ago
Yes, that's correct. The -v option in egrep shows only non-matching lines.
upvoted 0 times
...
...
Cristal
10 months ago
Option B is correct! egrep -v shows the non-matching lines, which is really useful for filtering out unwanted data.
upvoted 0 times
...
Kati
11 months 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.
upvoted 0 times
...
Leila
11 months ago
I think the answer is B) It only outputs non-matching lines.
upvoted 0 times
...
Andree
11 months ago
What is the effect of the egrep command when the -v option is used?
upvoted 0 times
...

Save Cancel