The ‘tar’ command stands for tape archive. It is used in Linux system to collect many files and directories into a highly compressed archive file for distribution or backup process. These highly compressed archive files are commonly called as tarball or tar, bzip and gzip.

Syntax to create an uncompressed archive:

$ tar cvf archive_name.tar dirname/

This command creates a tar archive using a directory and adds files to it.

Tagged in: