The difference and choice between zip and tar processing soft links in Linux
System environmentcat /etc/redhat-release CentOS Linux release 7.3.1611 (Core)getenforceDisabled
Installing Zip,unzip#直接yum安装yum install -y zip unzip
Create an
Analysis of compressed files under LinuxFor those who have just come into contact with Linux, it will definitely give Linux a bunch of different filenames to stun. Don't say it. For example, for compressed files, we know that there are only two
Tar:tar is *nix under the packaging tool, the generated package is usually also used tar as the extension, in fact, TAR is only responsible for packaging, not necessarily compression, in fact, can be compressed, can not be compressed, Usually you
Tar reference linksRole: To create files and directories for Linux, you can also change files in the file, or add new files to the file is used to compress and decompress files. The tar itself does not have compression capabilities. It is
Source Address: http://blog.csdn.net/x_iya/article/details/72889456Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are
Tar-this manual page documents the GNU version of Tar, an archiving program designed to store and extract files fro M an archive file known as a tarfile. A tarfile may made on a tape drive, however, it's also common to write a tarfile to a normal
LinuxCommon compression and decompression commands are shown in Table 2-5.
Table 2-5 common Linux compression and decompression commands
Common commands
Brief Chinese description
Program directory
Gzip
You can use the-d
Zlib is a data compression library that is designed to handle simple data (regardless of the source of the data).
Gzip is a file compression tool (or the compressed file format produced by the compression tool) that is designed to work with
Table 1 Linux common compression and decompression command description
Common commands
Brief Chinese description
directory where the program is located
Gzip
Compressed to a file named. GZ (also available as
You can browse the bold section first
One, the common compression file
*.zip | Zip program compresses packaged files; (very common, but because it does not contain document name encoding information, cross-platform may be garbled)*.rar
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.