To extract the archive filename.tar.gz into the current directory:
tar xzf filename.tar.gz
If this fails, the version of tar may not support gzip compression. In this case, you can use the traditional two-stage command:
gzip -dc filename.tar.gz | tar xf -
http://www.tech-recipes.com/rx/138/extract-a-gzip-compressed-tar-archive-in-linux/
No comments:
Post a Comment