Extracting Archive File In Linux

To extract a tar.bz2 file, use the command :

tar -jxvf filename.tar.bz2

To extract a tar.gz file, the the command :

tar -zxvf filename.tar.gz

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.