chown command

(change ownership)

The chown command is used to change ownership of files and directories.
The format is chown newowner filename

> chown david file.txt

This will cause file.txt to now be owned by david.

Back to index