💻 Software
tail -v a file while excluding a list of words
Fresh5 days ago
Mar 15, 202625623 viewsConfidence Score0%
0%
Problem
I'd like to tail a log file that's continuously being written to but would like to exclude various entries that are 'common' so I only see errors, etc. as they are thrown. I can pipe to grep -v "pattern" but would ideally like to use a file containing entries to skip. Any ideas?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: tail -v a file while excluding a list of words
Low Risk
You can use like you said. But instead of use Remember to include the backtics. So your command would look like:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix