Novell
050-720 · Question #273
What does the following command do? tar -czvf /tmp/backup.tgz /etc/HOSTNAME
The correct answer is B. It includes the /etc/HOSTNAME file in the newly created /tmp/backup.tgz archive. See the full explanation below for the reasoning.
Question
What does the following command do? tar -czvf /tmp/backup.tgz /etc/HOSTNAME
Options
- AIt extracts the /etc/HOSTNAME file from the /tmp/backup.tgz archive.
- BIt includes the /etc/HOSTNAME file in the newly created /tmp/backup.tgz archive.
- CIt produces an error message because the options are in the wrong sequence.
- DIt displays a line similar to the following, but otherwise does nothing: -rw-r--r-- root/root 23 2005- 03-11
How the community answered
(16 responses)- A13% (2)
- B81% (13)
- D6% (1)
Community Discussion
No community discussion yet for this question.