Linux gunzip command details how to use Linux gunzip command

Source: Internet
Author: User

Gunzip is a widely used decompression program that is used to unbind files compressed by gzip. These compressed files are pre-configured with the final extension ". gz ". In fact, gunzip is the hard connection of gzip. Therefore, you can use the gzip command to complete it independently, whether it is compression or decompression.

Syntax

Parameters:

Gunzip [-acfhlLnNqrtvV] [-s <compressed character string>] [file...]

Or gunzip [-acfhlLnNqrtvV] [-s <compressed character string>] [Directory]

  • -A or -- ascii uses the ASCII text mode.
  • -C or -- stdout or -- to-stdout output the extracted files to the standard output device.
  • -F or-force forcibly unbind the compressed file, regardless of whether the file name or hard connection exists, 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.
  • -N or -- no-name: during decompression, if the compressed file contains a remote file name and timestamp, it will not be processed.
  • -N or -- name: if the compressed file contains the original file name and timestamp, it is stored back to the unzipped file.
  • -Q or -- quiet does not display warning information.
  • -R or -- recursive processing: All files and subdirectories under the specified directory are processed together.
  • -S <compression character string> or -- suffix <compression character string> to change the compression character string.
  • -T or -- test to test whether the compressed file is correct.
  • -V or -- verbose displays the command execution process.
  • -V or -- version displays version information.

Instance

<P> decompress the file </p> <pre> # gunzip AB .gz

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.