English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
command groupmod Linux used to change the identifier or name of the group.
When you need to change the identifier or name of the group, you can use the groupmod command to do this work.
groupmod [-g <group identifier> <-o>][-n <new group name>][group name]
parameter:
modify name group
[[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: