Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 530 Bytes

chgrp.md

File metadata and controls

33 lines (21 loc) · 530 Bytes

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

  • chmod(1)
  • chown(1)