remove a user and all corresponding files

less than 1 minute read

deluser --remove-home --remove-all-files <username>

If you want to keep a user’s files, use

userdel <username>

Tags:

Categories:

Updated: