Linux archive file, archive directory

Source: Internet
Author: User
Tags bz2 unpack

In the Linux system, we generally manage the file directory, all through tar, such as compressed files, backup files, etc., tar can be said to be very useful.

Let me now explain some of the ways in which tar is used:


1. Archive as a tar package

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/77/C3/wKioL1ZuJRXi61JJAAAGAkoN6QE623.png "style=" float: none; "title=" 1.png "alt=" Wkiol1zujrxi61jjaaagakon6qe623.png "/>


2. Archive the package compressed to. gz

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/77/C4/wKiom1ZuJRCgGtf8AAAGq34pnkI514.png "style=" float: none; "title=" 2.png "alt=" Wkiom1zujrcggtf8aaagq34pnki514.png "/>


3. Archive compressed to. BZ2 Packages

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/77/C3/wKioL1ZuJRXAFzQBAAAHY4cZ-a8793.png "style=" float: none; "title=" 3.png "alt=" Wkiol1zujrxafzqbaaahy4cz-a8793.png "/>


4. Save the original path and archive it as a tar package

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/77/C4/wKiom1ZuJRDDQSv4AAALryD-ttQ749.png "style=" float: none; "title=" 4.png "alt=" Wkiom1zujrddqsv4aaalryd-ttq749.png "/>


5. Unpack the TAR Package

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/77/C3/wKioL1ZuJRbjWIsgAAAB99M5iAE514.png "style=" float: none; "title=" 5.png "alt=" Wkiol1zujrbjwisgaaab99m5iae514.png "/>


6. Unpack the. tar.gz Package

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/77/C3/wKioL1ZuJbyB6bFoAAACjFceCRs758.png "style=" float: none; "title=" 6.png "alt=" Wkiol1zujbyb6bfoaaacjfcecrs758.png "/>


7. Unpack the. tar.bz2 Package

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/77/C4/wKiom1ZuJbfzCXSBAAACbrsmWx8392.png "style=" float: none; "title=" 7.png "alt=" Wkiom1zujbfzcxsbaaacbrsmwx8392.png "/>


8. Unzip the tar package directly to the original path

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/77/C3/wKioL1ZuJb2BkEUKAAACai-aS9A668.png "style=" float: none; "title=" 8.png "alt=" Wkiol1zujb2bkeukaaacai-as9a668.png "/>


Linux archive file, archive directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.