chgrp(1) - SerenityOS man pages

Name

chgrp - change group ownership of file

Synopsis

$ chgrp <gid> <path>
$ chgrp <name> <path>

Description

chgrp called as root or as file owner changes owning group of specified path to gid or name.

Examples

# Change group of README.md to 111
# chgrp 111 README.md

# Change group of README.md to root
# chgrp root README.md

See also