How to uncompress zip, rar, tar.gz, tar.bz2 using shell – Linux

To uncompress these files formats, type the following commands:

zip:

gunzip filename

rar:

rar x filename

tar:

gzip filename

tar.gz:

tar -vzxf filename

Discussion Area - Leave a Comment