From owner-freebsd-questions@FreeBSD.ORG Sat Aug 23 16:25:16 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 F2EE71065685 for ; Sat, 23 Aug 2008 16:25:15 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id A6A208FC1E for ; Sat, 23 Aug 2008 16:25:15 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so463572yxb.13 for ; Sat, 23 Aug 2008 09:25:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=+ZgrMF+9FYbqnOKUuxormoOJzem1IBDUNB/xgoCWgsM=; b=D3trQ0Vqpog26ijMZ7tIWb9YBRr6I0QkiZJP9fOwCbripf7uYzSmw0lJVx/H7tdVhA h7vSiEhgjiFPt8Gi1vjyAe2kQTt6ExIj4MQISLOsoeMwXKaveHJFooT80eaV3FvuFkbt UXXXBTHrqkKKiS+/qoFN5DGHK+NI5RSTiaJTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=wvW2K7QdVxDNS0eZgwvSCrGlbnb9PfBIUgRHhO4y3E3UF8mtj/ewh6YMGawW0Vme9W p2mfe7j8a0QD/fCnxPqO1xcTzt5vjQ8EdrIj6ct/2uxGDRAzMwGpZ+Zj/44vONZrmziF XWxbaM4aHrSXF79uf1DSUhOvqGseuIUgh3B/w= Received: by 10.151.149.14 with SMTP id b14mr3872607ybo.71.1219506919677; Sat, 23 Aug 2008 08:55:19 -0700 (PDT) Received: by 10.150.189.4 with HTTP; Sat, 23 Aug 2008 08:55:19 -0700 (PDT) Message-ID: Date: Sat, 23 Aug 2008 10:55:19 -0500 From: "Noel Jones" To: "User Questions" In-Reply-To: <48B027CF.6040605@telenix.org> MIME-Version: 1.0 References: <48AECD11.1000705@pixelhammer.com> <48AF048A.1070401@pixelhammer.com> <48B027CF.6040605@telenix.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sat, 23 Aug 2008 16:25:16 -0000 On Sat, Aug 23, 2008 at 10:07 AM, Chuck Robey 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