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: chmod Chapter 2
UNIX Commands
Next: Reference: clear
 

chown



chown

 [

options

] 

newowner

 

files

Change the ownership of one or more files to newowner . (Note: The BSD version lets you change the group as well.) newowner is either a user ID number or a login name located in /etc/passwd .

Options

-h

Change the owner on symbolic links. Normally, chown 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, resetting the ownership ID.


Previous: Reference: chmod UNIX in a Nutshell: System V Edition Next: Reference: clear
Reference: chmod Book Index Reference: clear

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










??????????????@Mail.ru