Linux groupdel command

Linux 命令大全Linux Command Reference

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 hnuser

Linux 命令大全Linux Command Reference

Other Extensions