chown
Purpose
Section titled “Purpose”Changes the owner of a directory or file.
chown (-R) [OWNER] [PATH]Arguments
Section titled “Arguments”- (-R) — enables recursion mode
- OWNER — the new owner of the specified file or directory
- PATH — the path to the file or directory to change the permissions
Examples
Section titled “Examples”chown volk /home/volkResult:
Set the new owner of /home/volk to “volk”.
chown -R volk /home/volkResult:
Set the new owner of /home/volk to “volk”, and all files and directories inside this folder.