Options (2)
-R, --recursivebooleanRecursively change the owner of a directory and its contents
Example:
sudo chown {{[-R|--recursive]}} {{user}} {{path/to/directory}}-h, --no-dereferencebooleanChange the owner of a symbolic link
Example:
sudo chown {{[-h|--no-dereference]}} {{user}} {{path/to/symlink}}Examples (7)
Change the owner user and group to both have the name `user`
Change the group of a file to a group that the current user belongs to
chown :group path/to/file_or_directoryRecursively change the owner of a directory and its contents
made by @shridhargupta | data from tldr-pages