Loading...
General

Extract a tar and a tar.gz file

To extract a tar file named file.tar, you can use the following command.

[email protected] [~]#tar -xvf file.tar

In that, the x is the part that extracts, f defines the file and v gives verbose output, telling you what is being extracted.

To extract a file that is named file.tar.gz, you will use the z flag to ungzip it as well.

[email protected] [~]#tar -xzvf file.tar.gz

Popular Posts
  • No Popular Post Available
2 comments
  1. DaElisione Malina

    Hello! Someone in my Myspace group shared this website with us so I came to give it a look. I’m definitely enjoying the information. I’m bookmarking and will be tweeting this to my followers! Fantastic blog and excellent design.

Leave a Reply

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

*