Tar and Untar files in Linux
.tar files are similiar to .zip files, but they can be simple collections of files, or they can be compressed using gzip or bzip. Tar files also known as tarballs can be used for transfering files, or just archiving and backup purposes. Below we run through how to create and unpack each set of file types.
Creating the tar: