Archive files

Archive files are good for saving some space and reducing the files needed for transfer. Nowadays, there are a lot of archive formats. Having worked with multiple of them, it can be confusing.

I'll just track them with this file.

Take note that not all files are stored with the file extension. If it lacks the extension, inspect the file with the magic number. You can do that with any file inspection tools like file.1.

FormatFile extensionCommand to extract
Gunzip.gz, .gziptar -zxf $FILE, gunzip -c $FILE
ZIP.zipunzip $FILE
Zstd.zsttar --zstd xf $FILE
xz.xztar --xz xf $FILE
ISO.iso

There are also some libraries and applications for certain types of files.