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?
deluser --remove username
userdel -r username
usermod --delete username
userdel --remove-all-files username