groupmod Linux Commands

What is Linux groupmod Command?


groupmod COMMAND:

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


groupmod [options] newname oldname


-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.


  1. groupmod -n vizhi vizhi1

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

Ask Questions

Ask Question