» Linux » Examen sur Linux » Examen 202 : Networking Administration » Section 2 » Question 10/20
10.After Bob leaves the company you issue the command userdel bob. Although his entry in the /etc/passwd file has been deleted, his home directory is still there. What command could you have used to make sure that his home directory was also deleted?

userdel –m bob
userdel –u bob
userdel –l bob
userdel –r bob

Explanation: The –r option used with the userdel command is used to delete the users home directory and any files in the directory.

Reference: http://www.oreillynet.com/linux/cmd/u/userdel.html

Incorrect Answers
A: The –m option is invalid.
B: The –u option is invalid.
C: The –l option is invalid.

« Question 9 Question 11 »