Linux Administration
medium

Questão de Linux Administration #019e3987

Enunciado da Questão
Linux Administration
#egrep
#-v
#grep
#invert-match
Médio

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.

Correta
C

It shows the command's version information.

D

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

Explicação Oficial / Explicações da Comunidade

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.