How do you change file permissions and ownership in Unix?
Answer Posted / nashiinformaticssolutions
• Changing Permissions: Use the chmod command to change file permissions. For example, chmod 755 filename sets the permissions to read, write, and execute for the owner, and read and execute for the group and others.
• Changing Ownership: Use the chown command to change the ownership of a file. For example, chown user:group filename changes the owner to user and the group to group.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of tee command?
How do I search for a file in unix command?
What does this command do,"$more readme.txt“?
What is the use of the tee command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Explain mount and unmount command.
What is the difference between grep and grep?
What are awk commands?
What is the use of finger command?
What is the use of awk command in unix?
How do I search a whole word in vim?
What does the md command do?
What are the differences among a system call, a library function, and a unix command?
What are the dos commands?
Can you explain a little bit about command substitution?