Linux DevopsRoles.com

chgrp command in Linux with Examples

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

  • – change group ownership.
  • man  – More details information about command.

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!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.