What are files with gz and bz2 extensions?

Updated -

Files with .gz and .bz2 extensions are compressed files. They are similar to the common .zip files in Windows. Different extensions need different programs to uncompress. The command gunzip for .gz and use bunzip2 for .bz2. To uncompress the files run the following commands:

         gunzip file1.gz
         bunzip2 file2.bz2

.gz and .bz...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content