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