chgrp

Name

chgrp -- change group ownership

Synopsis

chgrp [OPTION]... GROUP FILE...
chgrp [OPTION]... --reference=RFILE FILE...

Description

The specification for "chgrp" is as specified in the SUS but with the following differences as listed below.

Differences

-c, --changes

like verbose but report only when a change is made

--dereference

affect the referent of each symbolic link, rather than the symbolic link itself

-h, --no-dereference

affect symbolic links instead of any referenced file (available only on systems that can change the ownership of a symlink)

-f, --silent, --quiet

suppress most error messages

--reference=RFILE

use RFILE's group rather than the specified GROUP value

-v, --verbose

output a diagnostic for every file processed

--version

output version information and exit