groupdel — Delete a group
Summary :
The groupdel command modifies the system account files, deleting all entries that refer to group.
Example:
# groupdel mygrp — Remove all entries about the mygrp.
Note:
- The named group must exist.
- You may not remove the primary group of any existing user. You must remove the user before you remove the group.
Read: man groupdel