tarball extraction

Linux CLI Tarball extraction

|
Need to extract a bzip2 or gzip file? well here’s how to do it  :   Bzip2 in the file.bz2 format :
  • bunzip2 file.bz2
a tar file with bzip2 compression :
  • tar xjvf file.tar.bz2
A tar file with no compression :
  • tar xvf file.tar
A tar file with Gzip compression :
  • tar zxvf file.tar.gz
  • tar zxvf file.tgz
A 7zip file :
  • 7z x file.7z
  • 7z x file.zip
Rar Files :
  • unrar x file.rar

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *