How Linux extracts the. gz file __linux

Source: Internet
Author: User
Tags gz file

The xxxx.tar.gz file uses tar with ZXVF parameters and can be unpacked at once. XXXX is the filename. For example:

$tar ZXVF xxxx.tar.gz

Gzip-d

Syntax: gzip [-acdfhllnnqrtvv][-s < compressed word tail string >][-< compression efficiency >][--best/fast][file ...] or gzip [- Acdfhllnnqrtvv][-s < compressed word tail string >][-< compression efficiency >][--best/fast][directory]

Supplemental NOTE: gzip is a widely used compression program, the file after it compressed, The extension of ". Gz" will be appended to the name.

Parameter:
-A or--ASCII uses ASCII text mode. The
-C or--stdout or--to-stdout outputs the compressed file to the standard output device without the original file being altered.
-D or--decompress or----uncompress unzip the compressed file.
-F or--force forcibly compresses the file. Ignores the existence of file names or hard connections and whether the file is a symbolic connection.
-H or--help online Help.
-L or--list lists information about compressed files.
-L or--license displays version and copyright information. The original file name and time stamp are not saved when the
-N or--no-name files are compressed.
-N or--name the original file name and time stamp when compressing the file.
-Q or--quiet does not display a warning message.
-R or--recursive recursively processes all files and subdirectories under the specified directory.
-s< Compressed Tail string > or----suffix< compressed word string > change the compressed Word tail string.
-T or--test to test whether the compressed file is correct.
-V or--verbose displays the instruction execution procedure.
-V or--version displays version information.
-< Compression Efficiency > Compression efficiency is a value between 1-9, the default is "6", the larger the value specified, the higher the compression efficiency. The
--best The effect of this parameter is the same as the specified "9" argument. The
--fast The effect of this parameter is the same as the specified "1" argument.

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.