Pack and unpack archives on Linux
unpack .gz
gunzip archivname.gz
----
unpack .tar
tar vxf archivname.tar
----
create .tar
tar cvf archivname.tar [folder to be archived]
----
unpack .tgz
tar -xzvf archivname.tgz
----
create .tgz
tar cvfz archivname.tgz [folder to be archived]
----
unpack .tar.gz
gzip -d archivname.tar.gz
----
create .tar.gz
gzip -9 archivname.tar [folder to be archived]
(Compression strength 1 - 9; 1 for fast and light compression and 9 for slow and heavy compression)
-------
unpack .tar.bz2
bzip2 -d archivname.tar.bz2
----
create .tar.bz2
bzip2 -9 archivordner.tar.bz2 [folder to be archived]
(Compression strength 1 - 9; 1 for fast and light compression and 9 for slow and heavy compression)
----
unpack .zip
unzip archiv.zip #unzip must be installed