1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 11:34:59 +00:00
serenity/Base/usr/share/man/man1/chgrp.md
2023-06-26 19:26:20 +02:00

530 B

Name

chgrp - change group ownership of files

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.

Options

  • -h, --no-dereference: Don't follow symlinks

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