Linux Commands and Scripts

Learn Basic Group Management in Linux

In this article, you will learn basic of group management in Linux.

Here you can learn how to add a group, modifying group, and deleting group.

Add group by assigning group ID:

#groupadd -g [GROUP_ID] [GROUPNAME]

-g – This value must be unique and non-negative

Delete group:

#groupdel [GROUPNAME]

Modify group:


-g – to change group ID.
-n – the name of the group will be changed.

Related Articles