What is the effect of the -v option for the grep command?
What is the effect of the -v option for the grep command?
The -v option for the grep command is used to invert the match, which means it will only output the lines that do not match the specified pattern. This is useful when you want to filter out lines that contain a certain pattern and display the rest.
i think C is correct
-v reverses the matching so answer is correct.
correct!
According to man pages, man grep: -v, --invert-match Invert the sense of matching, to select non-matching lines.
giusta
C is the correct one