How to compress files with tar command on Linux/Unix

Originally published at: https://www.cyberciti.biz/faq/tar-compress-command-on-linux-unix-to-create-tarball/

How do I compress a directory or files on a Linux or Unix like system using tar command?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki