linux-zip and unzip the gzip command

Source: Internet
Author: User
Tags gz file

Gzip Command: File compression


Gzip is GNU software and is the preferred compression tool for Linux systems, and the-Z option compression of the TAR Archive command also uses Gzip/gunzip to compress/unzip files.


gzip Generate. gz file


Grammar:

gzip [options] [File or directory ...]


Parameters:

-C or--stdout or--to-stdout to output compressed (decompressed) content to the standard output device and retain the original file

-D or--decompress decompression

-L or--list if the target file is a compressed file, then the compressed size, the uncompressed size, the compression ratio, and the extracted file name are displayed.


-R or--recursive recursive compression

-T or--test test to check the integrity of compressed files

-V or--verbose for each file, showing the file name and compression ratio.

-V or--version display version number

-NUM Specifies the speed of compression-1 or--fast for fast (low compression ratio)-9 or--best slow (high compression ratio)



linux-zip and unzip the gzip command

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.