Free CompTIA Linux+ XK0-005 Practice Question

You have been tasked with deleting a user account on a Linux server, and you must ensure that the user's home directory and mail spool is also removed. Which command should you execute?

  • userdel --remove-all-files username

  • usermod --delete username

  • userdel -r username

  • deluser --remove username

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