In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
".zip" format is used to compress files on Windows systems. In fact, ".zip" format files are commonly used in both Windows and Linux systems. They belong to one of several mainstream compression formats (zip, rar, etc.). It is a fairly simple storage format for compressing each file separately.
The usage of the linux compressed file command zip
Zip [options] compress the package name source file or source directory list
Options:
The meaning of the option-r recursively compresses the directory and compresses all files and subdirectories under the specified directory. -m after compressing the file, deleting the original file is equivalent to moving the file to the compressed file. -v displays detailed compression process information. -Q does not show the execution of the command during compression. -Compression level is a number from 1 to 9,-1 means faster compression, and-9 means better compression. -u update the compressed file, that is, add a new file to the compressed file.
Examples of use:
1. Compress a single file
Zip ana.zip anaconda-ks.cfg
2. Compress multiple files
Zip test.zip install.log install.log.syslog
3. Compressed folder
Zip-r dir1.zip dir1
These are the details of the usage of the linux compressed file command zip. Thank you for your study and support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 262
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Change file permissions 2 / etc/hosts* to see if permissions are set
© 2024 shulou.com SLNews company. All rights reserved.