Tar and un-tar files on linux

Create tar.gz

tar -czf destination.tar.gz folder-file-to-compress/

Extract tar.gz

tar -xzf file.tar.gz