System Grab Bag

View all TLDR pages from Linux (or from all pages)

groupadd

Add user groups to the system. See also: groups, groupdel, groupmod. More information: https://manned.org/groupadd.
  • Create a new group:
    sudo groupadd {{group_name}}
  • Create a new system group:
    sudo groupadd --system {{group_name}}
  • Create a new group with the specific groupid:
    sudo groupadd --gid {{id}} {{group_name}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.