Linux gzip, gunzip, and linuxgzipgunzipIntroduction
Gzip is a linux built-in compressed file command. Its compression ratio is about 60%-70%, which is higher than that of zip. Use gzipzip to add the. GZ suffix after the file and delete the source
The gzip command is used to compress files. Gzip is a widely used compression program, after which the file is compressed, and its name is followed by a number of ". Gz" extensions.Gzip not only compresses large, less-used files to conserve disk
IntroductionGzip is a compressed file command that comes with Linux, and its compression ratio is approximately 60% to 70%, which is higher than zip compression. Using gzip compression By default adds a. gz suffix to the file and deletes the source
LinuxCommon compression and decompression commands are shown in Table 2-5.
Table 2-5 common Linux compression and decompression commands
Common commands
Brief Chinese description
Program directory
Gzip
You can use the-d
This article describes the programs that are compressed under Linux, such as tar, gzip, gunzip, bzip2, bunzip2, compress, uncompress, zip, unzip, RAR, Unrar, and how to use them for. Tar,. GZ,. tar.gz,. tgz,. bz2,. tar.bz2,. Z. Tar. Z,. zip,. rar 10
For those who have just come in contact with Linux, it will certainly give Linux a lot of different file names to get dizzy. Let's just say, in the case of compressed files, we know that there are only two types of compressed files that are most
Table 1 Linux common compression and decompression command description
Common commands
Brief Chinese description
directory where the program is located
Gzip
Compressed to a file named. GZ (also available as
The most common packaging in LinuxProgramThe package we use the tarprogram is often called a tarpackage, and the command of the tarpackage file is always ended with .tar. After the tar package is generated, you can use other programsLine compression,
First of all, attach Linux under the various suffix format Compression decompression command, if you do not want to understand why the reason can run out.
. tar
Unpack: Tar xvf Filename.tar
Packing: Tar cvf filename.tar dirname
(Note: Tar is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.