[Hampshire] Tailing in two colours

Page principale

Répondre à ce message
Auteur: Graeme Hilton
Date:  
À: hampshire
Sujet: [Hampshire] Tailing in two colours
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.

--
Graeme Hilton