What is the effect of the egrep command when the -v option is used?
#egrep#-v#grep#invert-match
A
It enables color to highlight matching parts.
B
It only outputs non-matching lines.
Correct
C
It shows the command's version information.
D
It changes the output order showing the last matching line first.
Resolution & Explanations
The -v option in grep and its variants (like egrep) stands for 'invert-match', which forces the command to output only those lines that do NOT contain the search pattern.