Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
groupadd [options] group
System administration command. Create new group of accounts for the system.
Exit with error if group being added already exists. If a gid requested with -g already exists and the -o option has not been specified, assign a different gid as if -g had not been specified. This option is not available on all distributions.
Assign numerical group ID. (By default, the first available number above 500 is used.) The value must be unique, unless the -o option is used.
Display a help message.
Accept a nonunique gid with the -g option.
Use the string encrypted by crypt(3), as the initial password for the group.
Specify the path for the group definition file. Normally, the file is placed in
Add a system account. Assign the first available number lower than 499.
Add the group to a special service category. Normally, this is "files," but it may also be "ldap."
Display a very short list of acceptable options for the command.
Print the version number, then quit.