August 2018
Intermediate to advanced
482 pages
12h 44m
English
To understand the use of chown, let's follow these steps:

The previous command for changing password information is optional. You can ignore it if you want to.
We can see that the current owner for both the files is root and it belongs to the root group.

As seen here, the owner of file1.txt has now changed to user1.
Read now
Unlock full access