How To Open .TBZ ( tar.bz2 ) File Under Linux / UNIX

How To Open .TBZ ( tar.bz2 ) File Under Linux / UNIX

To open a .tbz (tar.bz2) file under Linux or Unix, you can use the tar command with the -jxvf options.

For example, to extract the contents of a .tbz file called example.tbz to the current directory, you can use the following command:

tar -jxvf example.tbz
Sou‮cr‬e:www.lautturi.com

This will extract the contents of the .tbz file and display a list of the files as they are extracted.

The -j option tells tar to use bzip2 compression, while the -x option tells tar to extract the files. The -v option tells tar to display a verbose output, showing the names of the files as they are extracted. The -f option specifies the name of the .tbz file.

If you want to extract the contents of the .tbz file to a specific directory, you can use the -C option followed by the path to the directory. For example:

tar -jxvf example.tbz -C /path/to/directory

This will extract the contents of the .tbz file to the specified directory.

Keep in mind that the .tbz file format is simply a tar archive that has been compressed using bzip2 compression. You can use the tar command with the appropriate options to extract the contents of the .tbz file, just as you would with any other tar archive.

Created Time:2017-10-28 21:38:53  Author:lautturi