groupadd Linux Commands

What is Linux groupadd Command?

Explanation

groupadd COMMAND:

groupadd command is used to create a new group account.This is an admin command.

SYNTAX :


groupadd [options] groupname

OPTIONS:


-g The numerical value of the group's ID. This value must be unique.Values between 0 and 99 are typically reserved for system accounts.
-r This flag instructs groupadd to add a system account.This option is suitable for Redhat linux only.

EXAMPLE:


  1. groupadd hioxindia

    Create a newgroup named as hioxindia.

Ask Questions

Ask Question