linux change owner code example
Example 1: change owner directory linux
sudo chown -R username:group directory
Example 2: change user linuxcommand ch
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
Example 3: add owner linux
# chown new-owner filename