How do I extract bz2 files?



I have a file in bz2 format as follows on my linux box:

drupal-date-9-may-2010.sql.bz2

How do I extract it?



You can use the following shell command to extract:

tar xvjf filename.bz2

This would also extract:

tar xvjf filename.tar.bz2

Here,
tar - Tape ARchiver
And the options:
x - extract
v - verbose output (lists all files as they are extracted)
j - deal with bzipped file
f - read from a file, rather than a tape device

"tar --help" gives more options and info.