Creating a group on Linux

Create a group by using the groupadd command.


Procedure

To create a new group, type the following command: groupadd -g group-ID group-name , where group-ID is the numeric identifier of the group, and group-name is the name of the group.


Results

The file /etc/group file holds group information.