chgrp
Jump to navigation
Jump to search
chgrp
change group ownership. https://linux.die.net/man/1/chgrp
Basic commands[edit]
sudo addgroup my_group
--> create a new groupsudo chgrp my_new_ownership my_file/directory
--> change ownership a file or directorysudo chgrp --dereference my_new_ownership file_link
--> change reference of a symbolic linksudo chgrp --no-dereference my_new_ownership file_link
--> modify symbolic link itselfsudo chgrp -R my_new_ownership ./mydirectory/
--> print recursivesudo chgrp -R -v my_new_ownership ./mydirectory1/
--> print verbose
Related terms[edit]
See also[edit]
chgrp
,groupadd, groups, groupmod
- UID, GID,
id
,chown
,chgrp
,chmod
,groups
, sticky bit,stat
, User ID,USER
sudo
,id
,visudo
,useradd
,userdel
,usermod
,groups
,passwd
,chown
,chmod
,chgrp
,groupadd
,groupdel
, Passwordless sudo, passwd (package),sudo --help
ls
,find
,tree
,mc
,attr, xattr, chmod
,rclone lsd, lsdir, ls -1
Advertising: