groupdel

Used to delete the specified workgroup

Supplementary instructions

groupdel command is used to delete the specified workgroup. The system files to be modified by this command include /ect/group and /ect/gshadow. If the group still contains some users, they must be deleted before the group can be deleted.

grammar

groupdel(parameter)

Parameters

Group: The name of the workgroup to be deleted.

Example

groupadd damon //Create damon work group
groupdel damon //Delete this workgroup