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
Which command is used to find whether the system is 32 bit or 64 bit?
What is the use of tee command?
How do you grep a case insensitive?
What is the use of finger command?
Which command will print your home directory on screen?
Why is awk called awk?
What is the difference between awk and grep?
How do I open a port?
What do chgrp command do?
What is the command to find maximum memory taking process on the server?
Explain command to display different lines that are found when compare two files?
What is the use of awk command in unix?
What is a bash command?
How do I search for a file in unix command?
Which unix command to make a new directory?