Solved

tgz

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

Andrew
0
Comment
Question by:andrewyu
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sparc Solaris hangs without crash dump & no events from messages 3 80
Virtualizing TAPE on dual VIOS 3 87
auto mounter on solaris 1 59
Martian Packets Unix 5 51
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

770 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