Chgrp

From wikieduonline
Revision as of 07:49, 20 May 2020 by Darkuser (talk | contribs)
Jump to navigation Jump to search

chgrp change group ownership. https://linux.die.net/man/1/chgrp

Basic Commands

  • $ sudo addgroup my_group
  • $ sudo chgrp my_new_ownership my_file/directory --> change ownership a file or directory
  • $ sudo chgrp --dereference my_new_ownership file_link --> change reference of a symbolic link
  • $ sudo chgrp --no-dereference my_new_ownership file_link --> modify symbolic link itself


Related terms

See also

Advertising: