groupmod Linux Commands

What is Linux groupmod Command?

Explanation

groupmod COMMAND:

groupmod command is used to modify group. This is an admin command.

SYNTAX :


groupmod [options] newname oldname

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.The value must be non-negative.
-n The name of the group will be changed from group to group.

EXAMPLE:


  1. groupmod -n vizhi vizhi1

    In the above example the groupmod command would change the group 'vizhi' to 'vizhi1'.

Ask Questions

Ask Question