deluser

Wikis > Linux > deluser

sudo deluser username groupname

Removes a person from a group in Linux.

Do not confuse with userdel — userdel will remove a user from Linux.