home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: cflow Chapter 2
UNIX Commands
Next: Reference: chkey
 

chgrp



chgrp

 [

options

] 

newgroup

 

files

Change the ownership of one or more files to newgroup . newgroup is either a group ID number or a group name located in /etc/group . You must own the file or be a privileged user to succeed with this command.

Options

-h

Change the group on symbolic links. Normally, chgrp acts on the file referenced by a symbolic link, not on the link itself.

-R

Recursively descend through the directory, including subdirectories and symbolic links, setting the specified group ID as it proceeds.


Previous: Reference: cflow UNIX in a Nutshell: System V Edition Next: Reference: chkey
Reference: cflow Book Index Reference: chkey

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System