This command will be used by Linux administrator. It means to change ownership. The author is the owner of the file or directory in the Linux environment. Actually, in Linux, the user are classified into three categories.
- Owner: the user one who create a file or directory
- Group: the collection of users where the owner of the file belongs to.
- Others: the remaining users in the Linux network.
Whenever a file or directory is being created by a user then that user will become the owner of that file or directory. In order to provide security to the contents, the Linux provides the permissions to each file and the owner will have the scope to grant or revoke the permissions on the file. Sometimes it may need to give the ownership to some other user so that the user can perform some required activities. In such cases, CHOWN command will be used.
# chown [ username ] [ group name ] [file name ]
0 comments:
Post a Comment