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 command to compare two files in unix?
What is “chmod” command?
What are file commands?
Name the unix command to find how many days the server has been up.
Name the various commands that are used for the user information in unix.
Using unix command how to display no of records in oracle?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is the use of find command in unix?
Who wrote grep?
How to find $ai_serual resolved path by using unix
What does this command do,"$more readme.txt“?
Is it inbetween or in between?
What is rmdir command?
How do I run a whois command?
What does sed command do in unix?