{"id":2151,"date":"2023-12-21T17:22:12","date_gmt":"2023-12-21T17:22:12","guid":{"rendered":"https:\/\/linuxdigest.com\/?p=2151"},"modified":"2023-12-21T17:24:13","modified_gmt":"2023-12-21T17:24:13","slug":"untar-file","status":"publish","type":"post","link":"https:\/\/linuxdigest.com\/howto\/untar-file\/","title":{"rendered":"How to Untar a File"},"content":{"rendered":"\n

“Untar” is a common term in the Linux world, referring to the process of extracting files and directories from a tar archive. However, there is usually no command named untar. Instead, we use the tar command with various options. <\/p>\n\n\n\n

Tar files, or Tape Archive, are my go-to for grouping many files into one. They can also be very handy for backups and can be compressed like zip<\/a> and other compression formats.<\/p>\n\n\n\n

If you work a lot with Linux or other Unix-based systems, you need to know your way around the tar command. In this article, I’ll show you everything from basic to advanced techniques for untarring. After reading it, you should be able to untar a file as well as know your way around the tool.<\/p>\n\n\n\n

Different Types of Tar Files<\/h2>\n\n\n\n

Tar files, recognized by the .tar<\/strong> extension, can come in various forms, depending on their compression method. So to untar a file, you will need to recognize what type of file it is. Here are the most common types:<\/p>\n\n\n\n