chgrp command in Linux with Examples

chgrp command means Changes the group association of the files and directories.

chgrp command in Linux with Examples


chgrp [OPTION]… –reference=RFILE FILE…

On the man page, the describes it

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

chgrp command in Linux with Examples

$ chgrp -hR huupv mydevops.txt


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!

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

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.