Which of the following tar options handle compression? (Choose two.)

Prepare for the LPI Linux Essentials 010-160 Test. Study with flashcards and multiple choice questions, each question offers hints and explanations. Get ready to ace your exam!

The correct answers involve the options that specifically handle compression with the tar command. The option that represents gzip compression is -z. When you use tar -czf, it creates a compressed archive using gzip. This is a common method of file compression that reduces the size of the data being packaged.

Another option that handles compression is -j, which indicates that bzip2 compression will be used. Using tar -cjf creates a compressed archive with the bzip2 algorithm, which generally provides better compression ratios than gzip, though it might be slower in terms of compression and decompression speed.

The options that do not relate to compression are -c, which is used to create an archive, and -t, which is used to list the contents of an archive. These options do not apply to the compression aspect of the tar command.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy