Date: Sat, 23 Aug 2008 10:55:19 -0500 From: "Noel Jones" <noeldude@gmail.com> To: "User Questions" <freebsd-questions@freebsd.org> Subject: Re: Tailing logs Message-ID: <cce506b0808230855k4a5e1c1ar2d3cb188da45bdba@mail.gmail.com> In-Reply-To: <48B027CF.6040605@telenix.org> References: <48AECD11.1000705@pixelhammer.com> <48AF048A.1070401@pixelhammer.com> <48B027CF.6040605@telenix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 23, 2008 at 10:07 AM, Chuck Robey <chuckr@telenix.org> wrote: > DAve wrote: > >> DAve wrote: >> >>> I would love to have a way to tail a log, like piping to grep, except I >>> see every line and the lines I would normally grep for are highlighted. That >>> would be cool. Anyone know of a bash command or tool that will do this? >>> >>> Side note, I am tailing sendmail after changes to my outbound queue >>> runners. I want to highlight my sm-mta-out lines but still see all lines. >>> >>> DAve >>> >> >> Thank you all, I got what I needed! >> >> DAve >> >> I do this commonly to catch the lines with the word "Building" in them, > from a file "build.out: > > tail -F build.out | grep --color=always Building > > > When I get a free moment, I need to see about making that --color-always > the default. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Look at ports/sysutils/multitail -- Noel Jones
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cce506b0808230855k4a5e1c1ar2d3cb188da45bdba>