groupadd
UsersFundamentals In real LinuxCreate a group
Name: groupadd = group add
This command needs a real Linux system; you can practise it in real Linux mode.
Description
groupadd creates a new group. Add users with usermod -aG, then use chgrp and chmod to let members share files.
Syntax
groupadd [OPTION]... GROUPCommon options
| -g / --gid GID | Group ID |
| -r / --system | A system group |
Examples
$ sudo groupadd developers
Create the developers group
Explain