Feature Description: change the group to which the file or directory belongs.
Syntax Description:chgrp [-cfhrv][--help][--version][owned group] [file or directory ...] or chgrp [-cfhrv][--help] [--reference =< reference file or directory >][--version][file or directory ...]
Supplemental Note: in the UNIX system family, the control of file or directory permissions is managed by the owner and the owning group. You can use the CHGRP directive to change the group of files and directories that are grouped by group name or group identification code.
parameter Description:
The-C or--changes effect is similar to the "-V" parameter but only returns the changed part.
The-F or--quiet or--silent does not display an error message.
-H or--no-dereference only make changes to the signed file, but not any other related files.
-R or--recursive recursively, all files and subdirectories under the specified directory are processed together.
The-V or--verbose displays the instruction execution process.
--help online Help.
The--reference=< reference file or directory > sets the group of the specified file or directory to the same group as the reference file or directory.
--version Displays version information.