How do I recover a bzip2 file?

Updated -

In order to recover a bzip2 file, follow these steps:

  1. Test the integrity of the bzip2 file by typing the following command:

    
     bzip2 -t [filename]
     
    
  2. If the input is corrupted, run the command:

    
      bzip2recover [filename]
     
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.