Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: chmodChapter 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: chmodUNIX in a Nutshell: System V EditionNext: Reference: clear
Reference: chmodBook IndexReference: clear

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