Linux commands
| Command: chown |
Changes ownership of a file or set of files http://www.opengroup.org/onlinepubs/9699919799/utilities/chown.html |
||||||
|
Description of commmand / detailed explanation:
The chown and chmod commands are related in their function. The Chown command changes the ownership of the a file or groups of files (using the recursive command.) This is an admin command, root user only can change the owner of a file or directory. One can change both the owner and the group the file or directories belong to using the chown user.group file.txt syntax. |
|||||||
|
Command options:
|
|||||||
How to use it: chown [options] newowner.newgroup filename/directoryname |
|||||||
|
Typical Usage Examples:
|
|||||||
|
Available in: debian
fedora gentoo suse mandriva ubuntu |
Related commands:
|
||||||