Tar command

Tar command

Tar files creation command :tar -cvf mystuff.tar mystuff/Web_Hosting_UK
tar -czvf mystuff.tgz mystuff/

extracting:

tar -xvf mystuff.tar
tar -xzvf mystuff.tgz
testing/viewing:

tar -tvf mystuff.tar
tar -tzvf mystuff.tgz

Note : .tgz is the same thing as .tar.gz

Sharing

Leave your comment

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