Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
chgrp [options] newgroup files chgrp [options]
Change the group of one or more files to newgroup. newgroup is either a group ID number or a group name located in /etc/group. Only the owner of a file or a privileged user may change the group.
Print information about files that are changed.
Do not print error messages about files that cannot be changed.
Print help message and then exit.
Traverse subdirectories recursively, applying changes.
Change the group to that associated with filename. In this case, newgroup is not specified.
Verbosely describe ownership changes.
Print version information and then exit.