Root-tail Question :)

Eric Murphy eam404 at earthlink.net
Tue Aug 23 02:25:15 GMT 2005


Can you highlight certain words within the log?

root-tail -f -color darkblue -g 50+500+5+5   /var/log/auth.log


If i were to add a color at the end of /varlog/auth.log like so:

/var/log/auth.log,red

It would negate the -color string... 

Im attemping to keep the color dark blue and have words show up in differnt colors...

I figured I could do something like...

/var/log/auth.log,red,'ssh'

But that doesnt work either it just makes it all red..

Is highlighting possible?


More information about the freebsd-questions mailing list