English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Linux groupmod 명령어는 그룹 인식 코드나 이름을 변경하는 데 사용됩니다。
그룹 인식 코드나 이름을 변경할 때는 groupmod 명령어를 사용하여 이 작업을 수행할 수 있습니다。
groupmod [-g <그룹 인식 코드> <-o>][-n <신규 그룹 이름>][그룹 이름]
파라미터:
그룹 이름 변경
[[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: