chgrp
Purpose
Section titled “Purpose”Changes the group of a directory or file.
chgrp (-R) [GROUP] [PATH]Arguments
Section titled “Arguments”- (-R) — enables recursion mode
- GROUP — the new group of the specified file or directory
- PATH — the path to the file or directory to change the permissions
Examples
Section titled “Examples”chgrp volk /home/volkResult:
Set the new group of /home/volk to “volk”.
chgrp -R volk /home/volkResult:
Set the new group of /home/volk to “volk”, and all files and directories inside this folder.