Wyodrębnij plik GZ Ubuntu
gzip -d file.gz
Cruel Cheetah
gzip -d file.gz
tar -xvf yourfile.tar.gz
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
tar -xvzf community_images.tar.gz
tar –xvzf documents.tar.gz
cd ~/Downloads/archive.tar.gz #first navigate to file location
tar -xzvf archive.tar.gz -C /path/to/new/directory/
#-C flag will change the extraction to a new directory.
#remove -C if you want to extract it to current location.