1. Tar command ============= Create a tar archive -------------------- root@cpanel [/home]# tar cvzf /root/avid.tar.gz avid/ avid/ is the directory name I want to archive. avid.tar.gz is the file name that will be assigned for the archive. /root/avid.tar.gz is the path where the tar file will be stored in to, Extract a particular file from tar archive to a required location -------------------------------------------------------------- root@cpanel [/home]# tar xvzf avid.tar.gz -C /root/ avid/public_html/wp-config.php avid/public_html/wp-config.php In the above example the file avid/public_html/wp-config.php from the tar file avid.tar.gz is extracted to the location /root/. View the content inside an existing Tar archive -------------------------------------------------- root@cpanel [/home/avid/public_html]# tar tvzf content.tar.gz drwxr-xr-x avid/avid 0 2014-04-16 23:36 wp-content/ drwxr-xr-x avid/avid ...