English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux groupmod command is used to change the group identifier or name.
You can use the groupmod command to change the group identifier or name when you need to change it.
groupmod [-g <Group Identifier> <-o>][-n <New Group Name>][Group Name]
Parameters:
Modify Group Name
[[email protected] ~]# groupadd linuxso [[email protected] ~]# tail -1 /etc/group linuxso:x:500: [[email protected] ~]# tail -1 /etc/group linuxso:x:500: [[email protected] ~]# groupmod -n linux linuxso [[email protected] ~]# tail -1 /etc/group linux:x:500: