Archiving & Compression
Compress, decompress and package files with the everyday zip, gzip and bzip2 family.
6 commands in this section.
bzip2
Intermediate
Compress a file using the bzip2 algorithm.
bzip2 [options] file
gunzip
Beginner
Decompress a .gz file.
gunzip file.gz
gzip
Beginner
Compress a file using the gzip algorithm.
gzip [options] file
unzip
Beginner
Extract files from a .zip archive.
unzip [options] archive.zip
xz
Intermediate
Compress a file using the xz (LZMA2) algorithm.
xz [options] file
zip
Beginner
Create a .zip archive.
zip [options] archive.zip file...