There are two obvious benefits of reducing file size, one is to reduce storage space, and the other is to reduce transmission time when transferring files over the network. Gzip is a frequently used Linux system command to compress and decompress
1, some common sense
Under Linux, to read a file, you first need to have execute permissions on the folder where the file is located, and then you need to read permissions on the file.
PHP file execution does not require file execution
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
Original link:Linux under the unzip command Daquan. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.
. tarUnpacking: Tar xvf Filename.tar after unpacking the original file still existsPackage: Tar cvf filename.tar DirName1 Filename1 ...List contents: Tar TVF Filename.tar(Note: Tar is packaged, not compressed!) )———————————————. gzExtract 1:gunzip
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
Linux decompression Command Daquan x-tar: Unzip TAR-XVF file name. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression
Linux Common Command DaquanSystem Information The processor architecture of the Arch Display Machine (1) UNAME-M display the processor architecture of the Machine (2) uname-r display the kernel version dmidecode-q display hardware system
. tarUnpacking: Tar xvf filename.tar or tar zxvf Filenname.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip
The main compressed files in Linux are : *.gz *.tar *.tar.gz *.zip *.bz2 *.tar.bz2
The old compression format of. zip, in Windows and Linux, is not compressed text that you can use to install the software pieces
. rar
. TarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. GZDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
Common compression commands for Linux systems:In Linux, the zip file extension is mostly: "*.tar, *.tar.gz, *.tgz, *.gz, *." Z, *.bz2 "Linux supports a very high number of compression commands, and different commands use compression techniques that
Use the skill to install the software: in Redhat, the installation program suffix is mostly *.rpm, in Ubuntu, the installation program suffix is mostly *.deb, in fact, in the general use of Ubuntu Software Center, or sudo apt-get install xxx The
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
Linux users often need to back up the data in the computer system, in order to save storage space, often the backup file compression, this article is a summary of the compression and decompression command. tar.gzDecompression: Tar zxvf
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.