This is a command related to account and group management. The groupdel command is the opposite action of the groupadd command for creating groups. It can only be executed by the superuser. If the primary group to be deleted is in use, it cannot be deleted.
Example: (Logged in as "root")
# groupdel cowork ←Deletes the group named "cowork" |