next up previous contents index
Next: chmod Up: Appendix 1: Common UNIX Previous: Introduction   Contents   Index

chgrp

This command is used to change the group ownership of a file or files. The form of the command is: chgrp <options> <group> <files>. The <group> will be assigned to the <files> that are specified. As usual wild cards are permitted, allowing multiple files to be specified. Several useful options are:


\begin{hanging}
\item{-c} describe only the files who's ownerships have actually...
...b-directories changing group permission
on the appropriate files.
\end{hanging}

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



Dale Scheetz