deluser Command Examples

Delete a user from the system. More information: https://manned.org/deluser.

sudo deluser {{username}}

sudo deluser --remove-home {{username}}

sudo deluser --backup-to {{path/to/backup_directory}} --remove-home {{username}}

sudo deluser --remove-all-files {{username}}