lz4
lz4 is a Linux command in the Archives & Compression category, rated intermediate difficulty. Extremely fast compression algorithm (very fast, moderate ratio). The syntax is lz4 [options] [file]. It returns lZ4-compressed file. A practical example: lz4 file.txt # Creates file.txt.lz4 lz4 -d file.txt.lz4 # Decompress A close relative is tar, which creates and extracts tar archives. The standard Unix archiving tool. A close relative is gzip, which compresses files using Lempel-Ziv coding. Produces .gz files. A close relative is gunzip, which decompresses .gz files created by gzip. More about this category: Linux archive commands — tar, gzip, zip, unzip, and more. Compress and extract files and archives. Related Archives & Compression commands: tar, gzip, gunzip, zip, unzip, xz, zcat, bunzip2. This page is part of the free Linux Reference documentation covering 304+ commands, each with syntax, options, practical examples, and a difficulty rating.