How to use the Linux or UNIX command line to decompress gzip files.
Use the following method to decompress gzip files from the command line:
gunzip file.gz
gzip -d file.gz
ls -1
Files with the extension tar.gz or .tgz represent tar files compressed with gzip. Observe the following procedure to decompress these files from the Linux command line:
Use SSH to connect to your server.
For tar.gz files, enter:
gunzip < file.tar.gz | tar xvf -
For .tgz files, enter:
gunzip < file.tgz | tar xvf -
If you use the GNU operating system also known as GNU Tar, use one of the following commands, depending on whether the file uses the tar.gz or .tgz extension:
tar xvzf file.tar.gz
tar xvzf file.tgz
For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.
Our award-winning customer care team is here for you.
Contact Support