LPI
101-400 · Question #156
What is the effect on the grep command when the -v option is used?
The correct answer is D. It inverts the matching to select non-matching lines. See the full explanation below for the reasoning.
Question
What is the effect on the grep command when the -v option is used?
Options
- AIt enables multi-line matching on the input.
- BIt is a shortcut for the vgrep command.
- CIt sets the verbose flag and increases the amount of information that is provided.
- DIt inverts the matching to select non-matching lines.
How the community answered
(24 responses)- A4% (1)
- B8% (2)
- C13% (3)
- D75% (18)
Community Discussion
No community discussion yet for this question.