Appendix 1: Common UNIX Commands
225
chgrp
This command is used to change the group ownership of a file or files. The
form of the command is: chgrp . The
will be assigned to the that are specified. As usual wild cards are
permitted, allowing multiple files to be specified. Several useful options are:
c
describe only the files who's ownerships have actually
changed.
f
don't print error messages on unchanged files.
R
recursively traverse the sub directories changing group
permission on the appropriate files.
Example:
chgrp R dwarf /home/dwarf
Will change all of the files in all of the directories below /home/dwarf to belong
to the group dwarf.
See also: chmod, chown
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved