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 > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail what are the commonly used decompression and compression commands in Ubuntu, the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
.tar file
# package only, not compress
Tar-xvf FileName.tar # unpack
Tar-cvf FileName.tar DirName # packages DirName and all files (folders) under it
.gz file
# .gz
Gunzip FileName.gz # decompression 1
Gzip-d FileName.gz # decompress 2
Gzip FileName # compression, can only compress files
.tar.gz file, .tgz file
# .tar.gz and .tgz
Tar-zxvf FileName.tar.gz # decompression
Tar-zcvf FileName.tar.gz DirName # compresses DirName and all files (folders) under it
Tar-C DesDirName-zxvf FileName.tar.gz # extract to destination path
.zip file
# feels that .zip takes up more space than .tar.gz
Unzip FileName.zip # decompression
Zip FileName.zip DirName # compress the DirName itself
Zip-r FileName.zip DirName # compression, recursive processing, compressing all files and subdirectories under the specified directory together
.rar file
# mac and linux do not come with rar and need to be downloaded
Rar x FileName.rar # decompress
Rar a FileName.rar DirName # compression
.tar is packaged, .tar.gz is the compressed file, .tar.gz is common in unix systems and can be decompressed directly in ubuntu or macos, while .zip is common in windows systems.
About which commonly used Ubuntu decompression and compression commands are shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.