Skip to content

Linux tar command purpose and usage

Question

What is the purpose of the tar command in Linux?

Answer

The tar command in Linux is used to create, extract, and manipulate archive files, typically for compressing multiple files into a single file or for unpacking them. It stands for "tape archive" and is commonly used for backups and file distribution.