In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will introduce to you what is the command for the Linux system to extract the gz file. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.
GZ is the compressed file in the UNIX system, the Gnu version of ZIP, and the function is the same as WINRAR compressed file extension. The tar.gz extension is a compressed file that is common under Linux and OSX. So how to extract the gz file in the Linux system?
Decompress .gz file
If it is a gz file that ends with a .gz extension, you can use the gunzip command and the gzip command to extract it.
Gunzip command
The function is to extract the file, and the permission is for all users. Example:
Gunzip FileName.gzgzip command
Gzip command is a command that is often used in Linux system to compress and decompress files, which is convenient and easy to use. Gzip can not only be used to compress large, less used files to save disk space, but also can be used with tar commands to form a more popular compressed file format in Linux operating systems.
The basic sentence pattern of decompression:
Gzip-d FileName.gz complement: you can use the gzip command to create .gz files, basic sentence patterns:
Extract the gzip FileName.tar.gz (.tgz) file
If it is a gz file that ends with a .tar.gz (.tgz) extension, you can use the tar command to extract it by executing the following command:
Tar zxvf FileName.tar.gz can extract the .tar.gz file.
The above is the Linux system decompression gz file command what is the whole content, more and Linux system decompression gz file command is what is the related content can search the previous article or browse the following article to learn ha! I believe the editor will add more knowledge to you. I hope you can support it!
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.