What are the compressed package formats in Linux learning?
With the rapid development of Internet technology, now gradually entering the era of big data, cloud computing, virtual technology and artificial intelligence, the phenomenon that technology is king is becoming more and more obvious. Nowadays, with the increasing scale and complex structure of the website, the demand for Linux operation and maintenance engineers is becoming more and more urgent, especially for experienced talents. So what are the common compressed package formats under Linux? What are the characteristics? How to compress the directory? how to learn Linux operation and maintenance?
Zip: a compressed format of a file with the suffix .zip
Zip compression format: zip compressed file names currently need to be compressed
Extract the files to be unzipped by unzip
Gzip: a compressed format for files. The compressed file is suffixed to .gzp.
Compression of files to be compressed by gzip
Gzip-d decompress the files to be unzipped
Bzip2: a compressed format for files with a compressed suffix of .bzp2
Bzip2 compression efficiency is higher than gzip compression efficiency.
Compression of files to be compressed by bzip2
Bzip2-d decompress the files to be unzipped
Zip unzipped files will not overwrite the original files, while both gzip and bzip2 will overwrite the original files.
Directory compression: the tar command tar is used to package the file directory, which can also compress the file at the same time