- About chgrp : To change the group ownership
- Comes From : coreutils-8.4-9.el6.i686
Examples :
1. To change the files group
$ chgrp SUPPORT file.txt |
2. To see the status if the files group has been changed after firing the command
$ chgrp -c SUPPORt file.txt |
3. To suppress any errors while changing
$ chgrp -f SUPPORT file.txt |
4. To change the groups recursively
$ chgrp -R SUPPORt /dir/ |
5. To see the verbose output for every change is being made by command
$ chgrp -v SUPPORt file.txt |
Related Commands: