Home >Common Problem >What file is .gz
".gz" is a compressed file; the file is an archive file compressed by the standard "GNU zip" compression algorithm. The Gzip format can efficiently compress and decompress single or multiple files and is commonly used in Unix and Compressed files on Linux systems, both Linux and OSX can directly decompress and use this compressed file.
The operating environment of this tutorial: linux7.3 system, DELL G3 computer.
A GZ file is an archive file compressed by the standard GNU zip (gzip) compression algorithm.
The Gzip format can efficiently compress and decompress single or multiple files and is commonly used to compress files on Unix and Linux systems.
GZ is a compressed file in the UNIX system, the Gnu version of ZIP, and has the same function as WINRAR. The extension of the compressed file.
A compressed file with the extension ·tar.gz is common under Linux and OSX. Both Linux and OSX can directly decompress and use this compressed file.
WinRAR under windows can also be used, which is equivalent to the common RAR and ZIP formats.
The so-called tarball file actually means that all the source code files of the software are first packaged with tar, and then compressed using compression technology. The most common one is gzip. Because the functions of tar and gzip are used, the general file extension name of a tarball file will be written as .tar.gz or abbreviated as .tgz
##Extended knowledge
How to open GZ files?
In Windows and macOS systems, you can use common compression software to open GZ files, such as: WinZip, WinRAR, 7-Zip, 360 Compression, Bandizip, etc. The gzip program is installed on most Unix and Linux operating systems. You can directly decompress GZ files with the following command:gzip -d Filename.gzOr use the decompression program gunzip corresponding to gzip, the command is as follows:
gunzip -d Filename.gzFor more related knowledge, please visit the
FAQ column!
The above is the detailed content of What file is .gz. For more information, please follow other related articles on the PHP Chinese website!