tar & gzip Workshop

Introduction to tar

The tar program provides the ability to create tar archives. Initially, tar archives were used to store files conveniently on magnetic tape. The name tar comes from this use; it stands for tape archiver. You can use tar for the following :

Getting Started

Login to SSH secure shell client using the following information:

tar -cvf ex.tar student.txt stu

Introduction to gzip

gzip is short for GNU zip. It is used to compress files using encryption. The gzip command will add the suffix .gz to the file name and remove the original file.