Home  >  Article  >  Operation and Maintenance  >  How to decompress files in linux

How to decompress files in linux

藏色散人
藏色散人Original
2019-11-12 09:26:143922browse

How to decompress files in linux

How to decompress files in Linux

Linux provides a very simple function to decompress *.zip files .

Decompression command: unzip filename.zip

Recommended: "Linux Tutorial"

How to decompress files in linux

Also available in Linux system There is a type of file with the suffix *.tar.

The decompression command is: tar -xvf filename.tar.

How to decompress files in linux

The decompression command is: bzip2 -d filename.bz2

How to decompress files in linux

1. Use tar –xvf to decompress *.tar. 2. Decompress *.gz with gzip -d or gunzip. 3. Decompress *.tar.gz and *.tgz with tar –xzf. 4. Use *.bz2. bzip2 -d or use bunzip2 to decompress 5. *.tar.bz2 uses tar –xjf to decompress 6. *.Z uses uncompress to decompress 7. *.tar.Z uses tar –xZf to decompress 8. *.rar uses unrar e to decompress 9. *.zip Use unzip to decompress

The above is the detailed content of How to decompress files in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to log in to LinuxNext article:How to log in to Linux

Related articles

See more