Linux compression decompression is not just a, there are a variety of ways to choose, even if the same command followed by the different options that come out of the effect is also different, here on the Linux compression decompression command to make a summary, in order to help in the future work.
Description: The tar command is only unpacked or packaged without the z, j, z option, not compressed
suffix. tar
Decompression command: Tar xvf infile.tar
Compression command: Tar cvf outfile.tar InFile
Compressible File types: Folders
Suffix. tar.gz
Decompression command: Tar zxvf InFile.tar.gz
Compression command: Tar zcvf OutFile.tar.gz InFile
Compressible File types: Folders
Suffix. tar.bz2
Decompression command: Tar jxvf InFile.tar.bz2
Compression command: Tar jcvf OutFile.tar.bz2 InFile
Compressible File types: Folders
Suffix. Tar. Z
Decompression command: Tar zxvf infile.tar.z
Compression command: Tar zcvf outfile.tar.z InFile
Compressible File types: Folders
Suffix. gz
Decompression command: gzip-d infile.gz or Gunzip infile.gz
Compression command: gzip InFile
compressible file types: Normal file/package file
suffix. zip
Decompression command: Unzip Infile.zip
Compression command: Zip outfile.zip InFile
compressible file types: Normal file list/package file
Suffix. bz2
Decompression command: bzip2-d infile.bz2 or Bunzip2 infile.bz2
Compression command: Bzip2-z InFile
compressible file types: Normal file/package file
Suffix. Z
Decompression command: uncompress infile.z
Compression command: Compress InFile
compressible File types: Packaging files
suffix. rar
Decompression command: rar x infile.rar
Compression command: RAR a InFile
Compressible File types: Folder/normal file list/packaging file
Almost the Linux compression decompression command is also these, the use of the way should be no problem.