Because tar is used so much, and for quite a bit in addition to backups, it is being described here. For more details, see the tar manual page; instructions for viewing manual pages can be found in section 5.1 on page 121.
tar is an archiver. This means that tar can take many files and combine them all into one large file or write them out to a backup device such as a tape drive. Once you have this one large file, you will often want to compress it; the -z option is great for this. Hence, tar offers a great way to distribute programs and data on the Internet, and you’ll find that it is used extensively for this purpose.
Here’s a sample tar command line:
Let’s take a look at how this command can be broken down:
You may often find tar.gz files (or simply tgz files) on the Internet. You can unpack these with a command like: