Command
chown
Explanation
chown is used to change the file owner and group. It changes the file owner and group.
Examples
Change owner and group
chown user:group file.txt
Recursive ownership change
chown -R user:group directory/
chown
chown is used to change the file owner and group. It changes the file owner and group.
Change owner and group
chown user:group file.txt
Recursive ownership change
chown -R user:group directory/