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 significance of the 'tee' command?
hw will u use awk in replacing cahrs and files
What are the differences among a system call, a library function, and a unix command?
What is the use of find command in unix?
What is awk command used for?
What is the comma to show the space allocation of files?
What is the command to view process running?
How can you see the command line history?
Explain command to view process running?
What are file commands?
Explain mount and unmount command.
What is the unix command to confirm a remote host is alive or not?
What is the use of egrep command in unix?
Explain ‘library functions’ with respect to unix commands?
Who wrote grep?