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