How to apply a filter to real time output of `tail -f `?

With Unix you can pipe the output of one program into another.

So to filter tail, you can use grep:

tail -f path | grep your-search-filter

Leave a Comment