>_ IzzyLab

Topic breakdown

gzip compresses a single file (unlike tar, which packs a tree): by default it replaces the original with a .gz version. gunzip (same as gzip -d) decompresses; gzip -t checks integrity; gzip -k keeps the original; zcat/zless read the contents without decompressing to disk. gzip is often combined with tar (tar czf = tar + gzip).

What's checked

  1. .gz created, original removed
  2. archive is valid

What it looks like