< All Cheat Sheets

Cheat Sheet: tar

The tar command is a file archiving utility in Unix-based systems that is used to create, extract, and manage tape archive files, commonly used for compressing and bundling multiple files and directories into a single archive file.

tar cheat sheet


Use BashSenpai to generate a command from a text prompt:

tar -xzf archive.tar.gz


Enter your email address and we'll happily send you a download link. The cheat sheet is available in PDF and PNG formats, light and dark.