chgrp command examples

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”.

 

Leave a Reply

Your email address will not be published. Required fields are marked *