Why is the tar command used?

0 votes
51 views
Mukul Goenka asked 15-Apr-2022 in troubleshooting by Mukul Goenka

Why is the tar command used?

1 Answer

0 votes
Hitesh Vohra answered 15-Apr-2022 by Hitesh Vohra
  • The tar command compresses a collection of files into a single archive. Tar archives can also be extracted, maintained, or modified with this command.
  • Multiple files and/or directories are combined into a single tar bundle. Although tar archives are not always compressed, they can be. Permissions are kept, and a variety of compression types are supported.
  • The Linux command 'tar' stands for tape archive, and it is used to generate and extract Archive files. In Linux, the tar command is an important utility that provides archiving capability. We may use the Linux tar command to create, maintain, and edit compressed and uncompressed Archive files.


Read More: Explain the redirection operator.