chgrp command examples
chgrp – change group ownership
#chgrp staff /u
Change the group of /u to “staff”.
#chgrp -hR staff /u
Change the group of /u and subfiles to “staff”.
#chgrp staff /u
Change the group of /u to “staff”.
#chgrp -hR staff /u
Change the group of /u and subfiles to “staff”.