CompTIA Exam Questions

Which of the following command lines can be used to extract the contents of the package?

A user downloads the software package "package.tar.bz2" from the vendor. Which of the following command lines can be used to extract the contents of the package?

A.
tar xvf package.tar.bz2 | bzip2 -d

B.
tar xf package.tar.bz2

C.
bzip2 package.tar | tar xvf package.tar.bz2

D.
bzip2 -d < package.tar.bz2 | tar xvf –