Linux compression and decompression commands

Source: Internet
Author: User
Linuxcompressed and decompressed command all. Tar package: tarzxvfFileName.tar package: tarczvfFileName.tarDirName---------------------------------------------.gz unzip 1: gunzipFileName.gz... linux compression and decompression commands. tar unpack: tar zxvf FileName.tar pack: tar czvf FileName.tar DirName ---------------------------------------------. gz decompression 1: gunzip FileName.gz decompression 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.bz2 decompression: tar jxvf FileName.tar.bz2 compression: tar jcvf limit DirName limit ---------------------------------------------. 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. Z decompress: tar Zxvf FileName.tar. Z compression: tar Zcvf FileName.tar. Z DirName ---------------------------------------------. zip decompress: unzip FileName.zip compression: zip FileName.zip DirName ---------------------------------------------. rar decompression: rar a FileName.rar compression: r ar e FileName.rar rar please go: http://www.rarsoft.com/download.htm Download! 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 lha can go: 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.