Linux decompression & amp; compression command

Source: Internet
Author: User


Linux decompression & compression commands like windows, not just their familiar interfaces. linux is just because of its installation and force nature. Different commands are required for a compression format.. Tar unpack: tar zxvf FileName.tar Pack: tar czvf FileName.tar DirName ---------------------------------------------. gz www.2cto.com unzip 1: gunzip FileName.gz unzip 2: gzip-d FileName.gz compression: gzip FileName .tar.gz and. tgz decompression: tar zxvf FileName.tar.gz compression: tar zcvf FileName.tar.gz DirName ---------------------------------------------. bz2 decompression 1: bzip2-d FileName.bz2 decompression 2: bunzip2 FileName.bz2 compression: bzip2-z FileName. tar. bz 2 decompress: tar jxvf FileName.tar.bz2 compression: tar jcvf FileName.tar.bz2 DirName ---------------------------------------------. bz extract 1: bzip2-d FileName. bz extract 2: bunzip2 FileName. bz compression: unknown. tar. bz decompress: tar jxvf FileName.tar. bz compression: Unknown ---------------------------------------------. Z decompress: uncompress FileName. Z compression: compress FileName. tar. decompress Z www.2cto.com: tar Zxvf FileName.tar. Z compression: tar Zcvf FileName.tar. Z DirName -------- ---------------------------------. Zip decompression: unzip FileName.zip compression: zip FileName.zip DirName compression. rar decompression: rar a FileName.rar compression: r ar e FileName.rar Please download to: http://www.rarsoft.com/download.htm! After decompression, copy rar_static to the/usr/bin directory (Other Directories specified by the $ PATH environment variable can also be used ): [root @ www2 tmp] # cp rar_static/usr/bin/rar ---------------------------------------------. lha decompression: lha-e FileName. lha compression: lha-a FileName. lha FileName www.2cto.com lha please go to: http://www.infor.kanazawa-it.ac.jp /~ Ishii/lhaunix/download!> After decompression, copy lha to the/usr/bin directory (Other Directories specified by the $ PATH environment variable can also be used ): [root @ www2 tmp] # cp lha/usr/bin /---------------------------------------------. rpm unpack: rpm2cpio FileName. rpm | cpio-div ---------------------------------------------. deb unpack: ar p FileName. deb data.tar.gz | tar zxf-

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.