💻 Software
Grep for many arguments
Fresh5 days ago
Mar 15, 2026422 viewsConfidence Score0%
0%
Problem
Possible Duplicate: Grep command, to remove lines containing a specified word How do I grep for more than one words in one grep command. For example: to be transformed into something like:
Error Output
cat file.txt | grep -v 'word1' | grep -v 'word2'
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Grep for many arguments
Low Risk
Use for extended regular expressions, then you can use or, shorter:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix