chgrp [options] group files
chgrp [options] --reference=rfile files
-c
--dereference
-h, --no-dereference
-R, --recursive
1,change group of a file or directory
chgrp user /home/john/sample.txt
2,
link
chgrp --no-dereference user sym_link
3,file pointed by link
chgrp --dereference guest sym_link
4,dir
chgrp -R guest dir/
5,print
chgrp -c user sample.txt
changed group of `sample.txt' to user