权限管理命令chgrp
chgrp
英文:chenge file group ownership
位置:/bin/chgrp
权限:所有用户
语法:chgrp [用户组] [文件或目录]
作用:改变文件或目录的所属组
例:
[root@localhost ~]# ll -d test drwxr-xr-x 2 root root 6 Dec 9 01:16 test [root@localhost ~]# chgrp admin test [root@localhost ~]# ll -d test drwxr-xr-x 2 root admin 6 Dec 9 01:16 test
温馨提示:如无特殊说明,本站文章均为作者原创,转载请注明出处!