Linux › Section B · Basic commands and the directory hierarchy › Topic B.12

Archiving and compressing files

Software, backups and data sets travel as single compressed files such as project.tar.gz. Knowing how tar bundles files, how gzip and xz shrink them, and how a checksum proves a download arrived intact lets you package, unpack and trust files safely.

In this topic

  • Bundling and squeezing
  • gzip and gunzip
  • Creating an archive with tar
  • Listing and extracting
  • Compressed archives
  • Worked example: backing up a project
  • xz, bzip2 and zstd
  • zip and unzip
  • Checksums: is the file intact?
  • Worked example: verifying a download
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →