Linux Essentials (010-160) — Question 48
Which of the following tar options handle compression? (Choose two.)
Answer options
- A. -bz
- B. -z
- C. -g
- D. -j
- E. -z2
Correct answer: B, D
Explanation
The correct options for handling compression in tar are -z, which uses gzip compression, and -j, which uses bzip2 compression. The other options are either not related to compression or are incorrect syntax for the tar command.