» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 4 » Question 20/20
20.As a system administrator, you are instructed to backup all the users home directories. Which of the following commands would accomplish this?

tar rf usersbkup home/*
tar cf usersbkup home/*
tar cbf usersbkup home/*
tar rvf usersbkup home/*

Explanation: The c option used with the tar command is used to create an archive. The f <filename> option allows you to specify a filename.

Reference: http://www.oreillynet.com/linux/cmd/t/tar.html

Incorrect Answers
A: The r option is used to append the files to an existing archive.
C: The b option is used to specify a block size. As no block size is specified, this answer is incorrect.
D: The r option is used to append the files to an existing archive.

« Question 19