chgrp command means Changes the group association of the files and directories.
![chgrp command in Linux with Examples](https://www.devopsroles.com/wp-content/uploads/2019/01/chgrp-command-in-Linux-with-Examples.jpg)
Syntax
chgrp [OPTION]… GROUP FILE…
chgrp [OPTION]… –reference=RFILE FILE…
On the man page, the describes it
-
chgrp – change group ownership. - man
chgrp – More details information about command.chgrp
chgrp command in Linux with Examples
$ chgrp -hR huupv mydevops.txt
Conclusion
chgrp command is a simple command in Linux. It is the most popular in use terminal Linux remove files or directories. Thank you for reading the DevopsRoles page!