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. If the group still contains some users, you must delete those users first before deleting the group.
Syntax
groupdel [群组名称]
Example
Delete a group
# groupdel hnuser
Linux Command Reference