Re: [Hampshire] Tailing in two colours

Top Page

Reply to this message
Author: Philip Stubbs
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Tailing in two colours
2008/4/23 Graeme Hilton <graeme.hilton@???>:
> Hi,
>
> Is there a way to have tail follow two files and display each in a
> different colour on the terminal? I've looked at bash colouring, but that
> only seems to cover coloured prompts!
>
> In my case I want to follow httpd_access and httpd_error and want the
> error log to show up red, interspersed with the access log.


This is a blast from the past. I remember playing with this:-
http://www.goof.com/pcg/marc/root-tail.html

I don't know if it can be used in a window or not.

--
Philip Stubbs