CmdID

CmdID / Commands

deluser

Delete a user from the system. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Remove a user

sudo deluser usernameIdentify

Remove a user and their home directory

sudo deluser --remove-home usernameIdentify

Remove a user and their home, but backup their files into a .tar.gz file in the specified directory

sudo deluser --backup-to path/to/backup_directory --remove-home usernameIdentify

Remove a user, and all files owned by them

sudo deluser --remove-all-files usernameIdentify

Remove a user from a group, without deleting the user

sudo deluser username groupIdentify