Solved

tgz

Posted on 1998-09-13
2
461 Views
Last Modified: 2010-04-21
How can I extract tgz file ?

Andrew
0
Comment
Question by:andrewyu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
jlms earned 10 total points
ID: 2006943
gunzip -c <your .tgz file> | tar xvf -

Notice that if you don't know what is in the file it is a good idea to list its contents first:

gunzip -c <your .tgz file> | tar cvf -

GNU tar could be an option because it can decompress adn then untar just adding a command line option but I don't use it so I don't know that way to uncompress tgz files.
0
 

Author Comment

by:andrewyu
ID: 2006944
So, it is the same as tar.gz, right ?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ftpcommand 2 82
retrieve nuemaric value from txt file in shell script 3 86
Linux "time" command output redirection 16 260
awk sed variable in file 3 107
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question