Re: Newbie qusetion - grep a gz file

From: Thierry Thomas (tthomas_at_mail.dotcom.fr)
Date: 03/29/05


Date: Tue, 29 Mar 2005 19:08:00 +0000 (UTC)

On Tue, 29 Mar 2005 18:53:27 GMT, Dustin Macdonald wrote:
> Newbie here -

> Is there a way to grep inside a gz file without uncompressing it?

zcat | grep

-- 
Th. Thomas.


Relevant Pages

  • Re: How can you get sendmail to report what IP a mail came from?
    ... Burke, Thomas G. wrote: ... > Hey all, ... (My machine is tomii-gate) ... do a grep on the message ID in your maillog. ...
    (RedHat)
  • Re: grep search/replace on pattern count
    ... On Mon, 08 Mar 2004 at 17:38 GMT, bubbleboy wrote: ... > Newbie q: ... > Been doing a lot of reading about grep and have put together most of ...
    (comp.unix.questions)
  • Re: postfix-mysql 2.2.2 for FC4
    ... modify release-tag ... explain it to me (newbie) ... Thomas ... Rebuild the rpm and there you are. ...
    (Fedora)
  • Re: check for mail in local mbox
    ... > googleing didn't help me to solve this problem, so I have to ask a newbie ... Use grep to find the messages, pipe through wc to get the count. ... Some light reading found at http://www.tldp.org/LDP/abs/html/index.html ...
    (alt.linux)
  • Re: Athlon 64 X2 cpuinfo oddities
    ... $ zcat /proc/config.gz | grep NR_CPUS ... Jesper Juhl ... Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html ...
    (Linux-Kernel)