solaris 修改文件所属组 chgrp。

chgrp newgroup files/directorys

如:
# ls -lh a.c
-rw-r--r--   1 liaohb   root         146  8月 28日 17:23 a.c
现在将 a.c 由 root 组变到 dba 组 命令如下:

# chgrp dba a.c
# ls -lh a.c
-rw-r--r--   1 liaohb   dba          146  8月 28日 17:23 a.c

原文地址:https://www.cnblogs.com/xiaotuni/p/2365685.html