LPI
101-350 · Question #70
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
(53 responses)- A2% (1)
- B8% (4)
- C6% (3)
- D85% (45)
Community Discussion
No community discussion yet for this question.