Thursday 20 August 2015

KALI – How to unzip files on Linux

There are so many formats for unzipping, that it’s almost unfair.Here’s a tip – look at the ending of the file.

To unzip files that end with bz2 use

bunzip2 filename.bz2

*****

To unzip files that end with .tar.bz2 use

tar -xvjpf filename.tar.bz2

*******

To unzip files that end  .gz use

gunzip file.gz

or

gzip -d file.gz

No comments:

Post a Comment