chgrp Linux Command
Changes the group ownership of a file or directory.
What does chgrp do?
Changes the group ownership of a file or directory.
Syntax
chgrp [options] group filePractical example
sudo chgrp developers file.txtRelated Permission Commands
chownChanges the owner and/or group of a file or directory.
umaskSets the default permission mask for newly created files and directories.
chmodChanges the read, write, and execute permissions of files and directories.
getfaclDisplays the Access Control List (ACL) of a file or directory.
visudoSafely edits the /etc/sudoers file to configure sudo permissions.
setfaclSets or modifies the Access Control List (ACL) for a file or directory.