Novell Certified Linux Professional (CLP) — Question 13

What does the following command do?
tar -tzvf /tmp/backup.tgz etc/HOSTNAME

Answer options

Correct answer: D

Explanation

The command is incorrectly structured as the options are not in the proper order, leading to an error. Option A is incorrect because it suggests adding a file, while B incorrectly states that it extracts a file. Option C is also wrong as it implies the command would execute without errors, which it does not.