Extract and create archive files
-x
Extract-z
(De)compress archive with gzip-v
Verbose-f <filename>
Location of archive
tar -xzvf file.tar.gz
-c
Create-z
Compress archive with gzip-v
Verbose-f <filename>
Location of archive
tar -czvf file.tar.gz path/to/dir