Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux groupdel Command

Linux groupdel Command

Linux Command Reference 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. 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 Linux Command Reference