From owner-freebsd-questions@FreeBSD.ORG Fri Aug 22 18:25:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 009511065679 for ; Fri, 22 Aug 2008 18:25:27 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp1.tls.net (smtp1.tls.net [65.124.104.104]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF9A8FC15 for ; Fri, 22 Aug 2008 18:25:26 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: (qmail 27012 invoked from network); 22 Aug 2008 18:25:21 -0000 Received: by simscan 1.2.3 ppid: 26988, pid: 27007, t: 0.2676s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp1.tls.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=10.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-11-135.bb.hrtc.net (HELO ?192.168.1.46?) (ldg%tls.net@64.184.11.135) by auth-smtp1.tls.net with ESMTPA; 22 Aug 2008 18:25:21 -0000 Message-ID: <48AF048A.1070401@pixelhammer.com> Date: Fri, 22 Aug 2008 14:25:14 -0400 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: 'User Questions' References: <48AECD11.1000705@pixelhammer.com> In-Reply-To: <48AECD11.1000705@pixelhammer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Tailing logs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 18:25:27 -0000 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 -- Don't tell me I'm driving the cart!