Free CompTIA Linux+ XK0-005 Practice Question

As a system administrator, you need to remove a user's account from a Linux system. The user's account, 'johndoe', must be deleted along with the user's home directory and mail spool. Which command should you use to accomplish this task?

  • userdel -r johndoe

  • userdel johndoe

  • removeuser --files johndoe

  • deluser johndoe

This question's topic:
CompTIA Linux+ XK0-005 / 
Security
Your Score:

Check or uncheck an objective to set which questions you will receive.

SAVE $45