The tar command on Linux is used to create and extract TAR archive files. Run "tar -czvf archive-name.tar.gz /path/to/file” in the Terminal to compress a file or ...
GNU gzip is a ubiquitous, open-source compression format and program. The standard compression of web servers is based on it, but also source code of programs still often ends up in .tar.gz archives.