search inside an archive

Mike Burger mburger at bubbanfriends.org
Thu Mar 16 11:39:11 UTC 2006


Depending on the file type, you may be able to "zcat <file> | grep 
<string>"

On Thu, 16 Mar 2006, shaunak saha wrote:

> Is there any command  to grep (search for a string) in files inside an
> archive file (gztar, .gz, .tar.gz, zip etc) ?
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

--
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request at bubbanfriends.org

with a message of:

subscribe




More information about the redhat-list mailing list