Name
groupadd — stdin stdout - file -- opt --help --version
Synopsis
groupadd [options
]group
The groupadd
command
creates a group. In most cases, you should use the -f
option to prevent duplicate groups from
being created:
# groupadd -f friends
Useful options
|
Specify your own
numeric group ID instead of letting |
|
If the specified group exists already, complain and exit. |
Get Linux Pocket Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.