IndianWebPortal.com

Something Different In Linux

Home » How to » How to make tar ,GZ AND ZIP file.

How to make tar ,GZ AND ZIP file.

Posted by Rishikesh Vispute Categories: How to

How to make tar ,GZ AND ZIP file.

tar -zcvf  index.tar.gz  index.html

gzip -c file1  > foo.gz

How to make UNtar ,UNGZ AND UNZIP file.

tar -zxvf  index.tar.gz

gunzip filename.gz

unzip filename.zip

create:

tar -cvf mystuff.tar mystuff/

tar -czvf mystuff.tgz mystuff/

extracting:

tar -xvf mystuff.tar

tar -xzvf mystuff.tgz

testing/viewing:

tar -tvf mystuff.tar

tar -tzvf mystuff.tgz


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...