Latest web development tutorials

Linux gunzip command

Linux command Daquan Linux command Daquan

Linux gunzip command to extract the files.

gunzip is widely used decompression program that is used to unlock the gzip compressed file, the compressed file preset final extension ".gz". In fact gunzip gzip is hard-wired, so either compressed or uncompressed, can be done individually through the gzip command.

grammar

Parameters:

gunzip [-acfhlLnNqrtvV][-s <压缩字尾字符串>][文件...] 或 gunzip [-acfhlLnNqrtvV][-s <压缩字尾字符串>][目录]
  • -a or --ascii using ASCII text mode.
  • or --stdout -c or --to-stdout extract the files output to the standard output device.
  • -f or -force forcibly extract the zipped files, file name, or hard to ignore the connection if the file exists and is a symbolic link.
  • -h or --help online help.
  • -l or --list List compressed files related information.
  • -L Or --license display version and copyright information.
  • When -n or --no-name decompressed, if compressed file containing far to the file name and time stamp, it is ignored disregarded.
  • When -N or --name decompress, if within the compressed file containing the original file name and time stamp, it is saved back to unlock the file.
  • -q or --quiet Do not display a warning message.
  • -r or --recursive recursive processing, all files and subdirectories in the specified directory be dealt with.
  • -S <Compression suffix string> or --suffix <compression suffix string> change the compression suffix string.
  • -t test compressed file or --test is correct.
  • -v or --verbose display during the execution of instructions.
  • -V Or --version display version information.

Examples

<p>解压文件
</p>
<pre>
# gunzip ab.gz 

Linux command Daquan Linux command Daquan