groupdel Linux Command
Deletes an existing group from the system.
What does groupdel do?
Deletes an existing group from the system.
Syntax
groupdel groupnamePractical example
sudo groupdel developersRelated User Management
groupaddCreates a new group on the system.
groupsDisplays all groups the current user is a member of.
userdelDeletes a user account. Use -r to also remove the home directory.
lastShows the last logged-in users from the system log file.
usermodModifies an existing user account (groups, shell, home directory, etc.).
whoamiDisplays the username of the currently logged-in user.