How to compress a whole Lunux/Unix directory into a tarball file

It is extremely easy to compress files and directories in Linux/ Unix using the tar command.  This command is used to create create .tar.gz or .tgz archive files; the so called “tarballs.”  You can do a lot of tasks with this command. It has a lot of options. Man page man tar or help file tar…