Difference between revisions of "Unpack"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 1: | Line 1: | ||
− | To unpack files under Linux, you need to know what file format your file is. Frequently used are | + | To unpack files under Linux, you need to know what file format your file is. Frequently used are the .zip, .tar and .tar.gz formats. |
− | |||
− | |||
− | |||
− | |||
− | |||
* .rar | * .rar | ||
* .sda | * .sda | ||
Line 12: | Line 7: | ||
Here are file formats and how to unpack them: | Here are file formats and how to unpack them: | ||
+ | * .bz2 : bunzip2 ''file''.bz2 | ||
* .tar : tar xvf ''file''.tar | * .tar : tar xvf ''file''.tar | ||
* .tar.gz : tar xvzf ''file''.tar | * .tar.gz : tar xvzf ''file''.tar | ||
+ | * .tgz : tar xvzf ''file''.tgz | ||
+ | * .zip : unzip ''file''.zip |
Revision as of 12:09, 4 September 2010
To unpack files under Linux, you need to know what file format your file is. Frequently used are the .zip, .tar and .tar.gz formats.
- .rar
- .sda
If you want to be sure about the file format, open a console and use the file command like this:
# file Blue-1.7.tar Blue-1.7.tar: POSIX tar archive (GNU)
Here are file formats and how to unpack them:
- .bz2 : bunzip2 file.bz2
- .tar : tar xvf file.tar
- .tar.gz : tar xvzf file.tar
- .tgz : tar xvzf file.tgz
- .zip : unzip file.zip