Linux Administration
medium

Pregunta de Linux Administration #019e3987

Enunciado de la Pregunta
Linux Administration
#egrep
#-v
#grep
#invert-match
Medio

What is the effect of the egrep command when the -v option is used?

A

It enables color to highlight matching parts.

B

It only outputs non-matching lines.

Correcto
C

It shows the command's version information.

D

It changes the output order showing the last matching line first.

Explicación Oficial / Explicaciones de la Comunidad

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.