You can unpack a .tar.gz
file into the current directory like this:
tar -xzvf archive.tar.gz
The options used are
-x
: Extract
-z
: Unzip
-f
: Process a file input
-v
: Be verbose, i.e. print each extracted file
Side notes:
tar xzvf ...
works as well)..tar.bz2
archives, use j
instead of z
(tar xjvf
...`)-c
flag instead of -x
flag.