In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "how to use Linux command unzip". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Unzip command
The unzip command is used to extract the ".zip" package compressed by the zip command.
1.1 Grammar
Unzip (option) (parameter)
1.2 option description-c displays the unzipped result on the screen and converts the characters appropriately;-f updates the existing file;-l displays the files contained in the compressed file;-p is similar to the-c parameter, the decompressed result is displayed on the screen, but no conversion is performed;-t checks whether the compressed file is correct. The-u parameter is similar to the-f parameter, but in addition to updating existing files, other files in the compressed file are also unzipped to a directory;-v displays detailed information when executed;-z displays only the remarks text of the compressed file;-a performs the necessary character conversion for the text file;-b does not convert the text file; and-C the file name in the compressed file is case-sensitive. -j does not process the original directory path in the compressed file;-L changes all file names in the compressed file to lowercase;-M sends the output to the more program for processing;-n does not overwrite the original file when decompressing;-o does not have to ask the user first, unzip executes and then overwrites the original file;-P uses the zip password option;-Q does not display any information during execution. -s converts the white space characters in the file name to underline characters;-V retains the file version information of VMS;-X unzips the original UID/GID;-d of the file to specify the directory to be stored after the file is decompressed;-x specifies which files in the .zip file are not processed;-Zunzip-Z equals the execution of the zipinfo instruction. 2. Show unzip test.zip-> extract the test.zip to the current file unzip-n test.zip-d / tmp-> extract the test.zip to the / tmp directory, and do not overwrite the existing file unzip-v test.zip-> view the test.zip contents, but do not extract the unzip-o test.zip-d tmp/-> extract the test.zip to the / tmp directory And overwrite the existing file "Linux commands how to use unzip" content is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.