Cannot delete files
Allowing other users to delete files?
I can't delete the user directory, help?
How to EASILY create a persistent Linux Mint USB.
https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ makes a persistent USB with Linux Mint for me, no problem, one shot. But it runs on Windows, this was before I changed to Linux.
More on reddit.comDoes `userdel` delete the home directory?
Does deleting a user remove their cron jobs?
Can I delete a user that is currently logged in?
Videos
sudo deluser --remove-home your_user deletes the home directories as well as the user entries.
The additional option --remove-all-files even removes all the files owned by the user.
Now that you have deleted the user accounts, neither deluser nor userdel will know anything about them or their home directories, since the corresponding /etc/passwd entries are gone. Just manually delete the directories once you have backed up any valuable data:
sudo rm -r /home/user1 /home/user2 ...
You could, of course, have deleted the directories while deleting the user like the other answers suggested.