This command is used to change the group ownership of a file or files. The form of the command is: chgrp <options> <group> <files>. The <group> will be assigned to the <files> that are specified. As usual wild cards are permitted, allowing multiple files to be specified. Several useful options are:
Example:
chgrp -R dwarf /home/dwarf
Will change all of the files in all of the directories below /home/dwarf to belong to the group dwarf.
See also: chmod, chown