tldr/pages/linux/groupadd.md

240 B

groupadd

Add user groups to the system. More information: https://manned.org/groupadd.

  • Create a new Linux group:

groupadd {{group_name}}

  • Create new group with a specific groupid:

groupadd {{group_name}} -g {{group_id}}