💻 Software
Filter/grep some output only by certain column?
Fresh5 days ago
Mar 15, 202639176 viewsConfidence Score0%
0%
Problem
How can I filter some output only by certain column? I need something like this: So I want to see only lines that don't have string '200' in first column.
Error Output
tail -f logs/access_log | grep -v "200" --only-in-column=1
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Filter/grep some output only by certain column?
Low Risk
awk is probably the canonical tool for this kind of problem.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix