Question: What is the purpose of the 'grep' command with the '-v' option?Answer: The '-v' option in 'grep' is used to invert the match, displaying lines that do not match the pattern. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users:
- What is the purpose of the \'chmod\' command in Linux?
- Explain the difference between \'rm\' and \'rmdir\' commands.
- What is the role of the \'grep\' command in Linux?
- Explain the purpose of the \'ls\' command.
- Explain the purpose of the \'sudo\' command.