
10-03-2007, 10:58 PM
|
| Junior Member | | Join Date: Sep 2009
Posts: 0
| |
Re: tail with color? Troy Piggins wrote:
> I'm using 'tail -f /var/log/mail.log' to keep an eye on my mail
> logs while testing. I was wondering if there is any tools
> similar that might have the ability to color keywords (maybe
> based on REs)? This would help certain keywords stand out more.
Type "less /var/log/mail.log". Then type "/foo", where "foo" is
a regular expression matching whatever you want to highlight, and
hit return. Now type "F".
- Logan |