colored tail -f with /var/log/messages

Vim has beautiful color profile for messages:

But I usually use tail -f to monitor my logs, while it can not use vim color profile, so I installed grc.
Clone and run ./install.sh, try grc tail -f /var/log/messages and you will see:

Oh, that’s not what I want.

Luckily grc can easyly customize profile, so this is my final effect:

And this is my profile, play and enjoy 😀

Leave a Reply

Your email address will not be published. Required fields are marked *