1.

What is the difference between the tar, gz, and zip?

Answer»

Tar & ZIP are TWO most commonly used utilities in Linux system

TAR is archiver utility which will archive the selected files or directories. Extension of TAR is .tar.

GZ is known as gunzip used compress files only. Extension of gz is .gz. You can USE gz on TAR to compression directories achieved by TAR.

ZIP is archiver and compression utility for files and directory. Extension of ZIP is .zip.

The benefit of TAR can be applied on directories. Sometimes, you do not want to compress the FILER but want to bundle them, TAR is perfect for it. TAR with GZIP is the best COMBINATION. Like GZIP, we also have bzip2 which use a completely new algorithm to compress files has given less size in compare to gzip.



Discussion

No Comment Found