Linux Commands Helper
💬 Your AI-powered Linux assistant
groupadd Command - Create a New Group
The groupadd command is used to create a new group on Linux systems. Groups are used to manage sets of users with common permissions.
Syntax
groupadd [options] groupname
Examples
sudo groupadd developers
Create a new group named developers.
grep developers /etc/group
Verify the group was created.
Notes
- Requires root privileges.
- Group information is stored in
/etc/group
. - Group IDs (GID) can be specified with the
-g
option.