chgrp 组 文件或目录
[root@MongoDB ~]# chgrp incahome test.sh [root@MongoDB ~]# ll total 4 -rw-------. 1 root root 1851 Mar 27 08:38 anaconda-ks.cfg -rw-r--r-- 1 root incahome 0 Jun 5 23:47 test.sh
chgrp 组 文件或目录
[root@MongoDB ~]# chgrp incahome test.sh [root@MongoDB ~]# ll total 4 -rw-------. 1 root root 1851 Mar 27 08:38 anaconda-ks.cfg -rw-r--r-- 1 root incahome 0 Jun 5 23:47 test.sh