LPI
101-500 · 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. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
GNU and Unix Commands
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
(40 responses)- A3% (1)
- B3% (1)
- C8% (3)
- D88% (35)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#grep#inverted matching#command options#text filtering
Community Discussion
No community discussion yet for this question.