userdel Command Examples

Remove a user account or remove a user from a group. See also: users, useradd, usermod. More information: https://manned.org/userdel.

sudo userdel {{username}}

sudo userdel {{-R|--root}} {{path/to/other/root}} {{username}}

sudo userdel {{-r|--remove}} {{username}}