How to compress and extract files using the tar command Compression tar -czvf Archive.tar.gz Source Extraction tar -xzvf Archive.tar.gz