Home‎ > ‎Data compression‎ > ‎

Extract .tar.gz archive

To extract archive from tar.gz, use tar command.

$ cd /var/www
$sudo tar -xvzf www.tar.gz

Option x is for extract, v is for verbose (printing out progress on screen), z is for compressed file, f means use whatever file just after f in the command line.