• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:


How can I extract tgz file ?

1 Solution
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.
andrewyuAuthor Commented:
So, it is the same as tar.gz, right ?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now