User Tools

Site Tools


linux:tar_gzip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:tar_gzip [2020/05/25 08:25] – created bstaffordlinux:tar_gzip [2022/11/23 12:49] (current) – external edit 127.0.0.1
Line 1: Line 1:
 =====Tar and GZIP====== =====Tar and GZIP======
 +===== Compress and Zip =====
 +<code>tar -zcvf website.tar.gz /var/www</code>
 +  * -z : Compress archive using gzip program in Linux or Unix
 +  * -c : Create archive on Linux
 +  * -v : Verbose i.e display progress while creating archive
 +  * -f : Archive File name
 +
 =====Untar===== =====Untar=====
 <code>tar xfz foo.tar.gz</code> <code>tar xfz foo.tar.gz</code>
linux/tar_gzip.1590395133.txt.gz · Last modified: (external edit)