🧀 Learn Linux

Advanced · Permissions and Links

chgrp: Modify the group to which the file belongs

Syntax

chgrp group file

Examples

sudo chgrp www-data app.conf

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands