User Management

groupadd

Create a new group on the system.

Synopsis

syntax
groupadd [OPTION]... GROUP

Examples

Create a new group
sudo groupadd developers
Create group with specific GID
sudo groupadd -g 1500 webteam
Create system group
sudo groupadd -r appservice

Common options

FlagDescription
-gSpecify GID
-rCreate system group
-fExit successfully if group already exists

About groupadd

The `groupadd` command create a new group on the system. User management commands handle creation, modification, and deletion of user accounts and groups.

Multi-user access control is a core feature of Linux. These commands are essential for system administrators managing servers, enforcing security policies, and provisioning access for teams.

The command accepts 3 commonly used flags shown above, though the full set of options is available in the man page (`man groupadd`). The 3 examples on this page cover typical real-world usage patterns that you can copy and adapt for your own workflows.

Related commands

More User Management Commands

Other commands in the User Management category

Related tools