Is it possible to use tail and grep in combination?

grep, linux, pipeline, tail

Solution

Yes - You use pipe. i.e.

tail -f <some filename> | grep 'username'

Problem

I am trying to tail a user in production log. Is it possible to use ``` tail -f grep "username" ```

Original source

Related problems