FG
💻 Software

Simple use of 'tail' and 'grep'. Multiple conditions

Fresh5 days ago
Mar 15, 202633957 views
Confidence Score0%
0%

Problem

I'm trying to read a log file which is being written to by a simple daemon. I would like to filter my "live" output to certain - multiple - "types". My types are: This is what I have so far, and it works for one case, but I cannot get it working for multiple cases though. I've tried a couple of thi…

Error Output

tail -f log.txt | grep INFO

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Simple use of 'tail' and 'grep'. Multiple conditions

Low Risk

Try:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment