• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lrzip Command Examples in Linux

by Deepika

lrzip is a file compression tool designed for compressing large files. It uses a combination of various compression algorithms and data structures to achieve a high compression ratio, making it particularly well-suited for compressing large files. lrzip is optimized for compressing large files and can be much faster than other traditional file compression tools when working with large files. Additionally, lrzip can also be run in parallel, taking advantage of multiple CPU cores to perform the compression task, further increasing its speed and efficiency. lrzip supports a variety of archive formats, including .lrz, .gz, .bz2, and .xz. Overall, lrzip is a powerful and efficient tool for compressing large files, and is particularly useful for large-scale data processing and backup tasks.

lrzip Command Examples

1. Compress a file with LZMA – slow compression, fast decompression:

# lrzip filename

2. Compress a file with BZIP2 – good middle ground for compression/speed:

# lrzip -b filename

3. Compress with ZPAQ – extreme compression, but very slow:

# lrzip -z filename

4. Compress with LZO – light compression, extremely fast decompression:

# lrzip -l filename

5. Compress a file and password protect/encrypt it:

# lrzip -e filename

6. Override the number of processor threads to use:

# lrzip -p 8 filename

Filed Under: Linux

Some more articles you might also be interested in …

  1. pactl: command not found
  2. aa-disable: command not found
  3. visudo: command not found
  4. beep Command Examples in Linux
  5. Backtick (`) symbol in Linux Shell Scripting
  6. Linux OS Service ‘NetworkManagerDispatcher’
  7. cmake: Cross-platform build automation system, that generates recipes for native build systems
  8. grub-mkconfig Command Options
  9. conky Command Examples in Linux
  10. pacstrap Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright