How to create .tar.gz archive

Creating .tar.gz archive can be done with one command. Use the following:

tar -pczf archive.tar.gz /directory/path

 

  • 58 Users Found This Useful
Was this answer helpful?

Related Articles

How to unzip .tar.bz2 file

To unzip bzip file use:tar -xvjf filename.tar.bz2 First make sure you have installed bzip...

How to flush the exim queue from SSH shell

To flush the exim queue for a cPanel or DirectAdmin based virtual server or dedicated server use...

How to install Kloxo on VPS and dedicated server

Prerequisites1) A dedicated or virtual server running CentOS or Red Hat EL 5.x. CentOS 6.x is not...

Buy VPS with Neteller

Buy VPS with Neteller Get VPS Hosting Services The internet is filled with very many websites....

Buy VPS with Payeer

VPS is a virtual private server. It’s basically a virtual server that gives you master...