In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the detailed explanation of packing compression and decompression commands under Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn the detailed explanation of the packing compression and decompression commands under Linux.
The use and common parameters of zip:
-a convert the file to ASCII mode
-F attempts to repair corrupted compressed files
-h displays the help interface
-m after compressing the file, delete the source file
-n specific strings do not compress files with specific suffix strings
-O set the latest change time of all files in the compressed file to the time of compression.
-Q quiet mode, which does not show the execution of the instruction during compression
-r all subdirectories and files under the specified directory are processed together
-S contains system files and implicit files (S is uppercase)
-t date sets the last modification date of the compressed file to the specified date, and the date format is mmddyyyy
Usage: zip [parameters] [packaged file name] [packaged directory path]
Practical example: zip-Q-r laozuo.zip laozuo.com (this command means to package and compress all files in the laozuo.com folder into laozuo.zip packages and put them in the current directory)
Secondly, the skills of using UNZIP:
The code is as follows:
Unzip laozuo.zip
Is it very easy to extract the package directly to the current file, and then we can use the command or FTP to adjust the file path. Generally speaking, zip/unzip is used for packing and uploading website files, as well as decompressing and backing up, which can improve our work efficiency.
At this point, I believe that everyone on the "Linux package compression and decompression command detailed explanation" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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: 0
*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
© 2024 shulou.com SLNews company. All rights reserved.