Enable multithreading for gzip and bzip2 by default

Introduction

In the article “Compressing multithreaded under Linux (gzip pigz, bzip2 lbzip2)” we saw that pigz is the multithreaded alternative to gzip and that lbzip2 is the multithreaded alternative to bzip2.

However, to use these more powerful versions, you must explicitly specify the program name in the various command lines (such as tar).

Let’s see how to call pigz and lbzip2 automatically when gzip and bzip2 are invoked.

Continue reading “Enable multithreading for gzip and bzip2 by default”