chgrp command means Changes the group association of the files and directories.
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!