QuestionQ27Verified/GNU and Unix CommandsCopy linkReport a problemAsk AstroTutorSave questionWhat effect does the -v option have for the grep command?AIt enables color to highlight matching parts.BIt shows the command's version information.CIt only outputs non-matching lines.DIt changes the output order showing the last matching line first.EIt outputs all lines and prefixes matching lines with a+.Show AnswerAnswerExplanationThe grep -v option inverts the match selection, so it outputs only lines that do not match the specified pattern.Show comments4Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion