InterviewSolution
Saved Bookmarks
| 1. |
Which command is used to change the ownership of a file?(a) chmod(b) change(c) ch(d) chownI got this question by my college professor while I was bunking the class.My query is from Changing File Ownership and Permissions in portion Basic File Attributes of Unix |
|
Answer» CORRECT option is (d) chown To explain I would say: For CHANGING the file ownership, we USE the chown command. chown transfer the ownership of a file to another user. The command requires the user-ID (UID) of the recipient. To change the ownership of a file from user01 to user02, use the FOLLOWING COMMANDS: |
|