In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Packaged program: tar
C: create a document
T: list the contents of the document
X: extract Archive
F file name: the file name of the archive to be operated
V: details
Packaged program: tar
C: create a document
T: list the contents of the document
X: extract Archive
F file name: the file name of the archive to be operated
V: details
Example: tar cf a / etc, etc. (suffixes in Linux are basically useless, just for administrators)
And you have to add a file name after f, or you can't pack it.
Tar supports three different compression methods:
Gzip: the fastest compression speed, the longest history, and the most widely used
Bzip2: compressed files are not as useful as gzip.
Xz: the latest way to provide the best compression ratio
All three situations can be encountered in the real world, so you have your own options for creating archived files in different formats.
Z for gzip compression: tar zcf compressed file name compressed file name
J for bzip2 compression: tar jcf as above
J for xz compression: tar Jcf as above
Extract the file
The name of the file to be extracted by tar xf
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.