Linux groupdel command
The Linux groupdel command is used to delete a group.
When you need to delete a group from the system, you can use the groupdel (group delete) command to accomplish this task. If the group still contains some users, you must delete those users first before you can delete the group.
Syntax
groupdel [群组名称]
Examples
Delete a group
# groupdel hnuserOther Extensions
Linux Command Reference