What single command (no options or arguments) can be used to fully extract a file called abc.tar.bz2?

What single command (no options or arguments) can be used to fully extract a file called abc.tar.bz2?

What single command (no options or arguments) can be used to fully extract a file called abc.tar.bz2?

A.
gunzip

B.
gzip

C.
tar

D.
bz2unzip



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Nosferatu

Nosferatu

Tar requires several options, just to extract a .tar archive, let alone decompress a .bz2 archive.

The answer would be ‘D’, if that option was actually “bunzip2”.

Tony

Tony

That wouldn’t work either, it will bunzip but won’t untar, so will decompress but not extract. I suspect another wrong question/answer. tar is the only on that list that will untar AND unbzip2, but as you say requires option (xjf).