Linux chgrp Command

In this tutorial we learn how to use chgrp commmand in Linux. chgrp command is chgrp - change group ownership

What is Linux chgrp Command?

In this tutorial we learn how to use chgrp command in Linux. chgrp command is chgrp - change group ownership

chgrp Syntax

       chgrp [OPTION]... GROUP FILE...
       chgrp [OPTION]... --reference=RFILE FILE...

chgrp Examples

chgrp Command Manual / Help

We can use man and info command to see the manual page of chgrp command.

chgrp command also have --help option to show list of options.

To open man page for chgrp command we can use command below. To exit man or info page you can press q.

man chgrp

To open info page for chgrp command we can use command below.

info chgrp

To open help page from chgrp command we can run command below.

chgrp --help

Linux chgrp Command Source Code

You can find chgrp command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use chgrp in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.