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
Name the various commands that are used for the user information in unix.
What is ‘ps’ command for?
why metadb requires a seperate slice to create Solaris volume manager
How do I delete files from command prompt?
How does shebang work?
What is the use of the command 'ls -x chapter[1-5]' ?
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 sed awk grep?
Differentiate cmp command from diff command.
Explain how to use grep command to list find the records of a file containing 10 different strings?
What does the “echo” command do?
Which command can you use to find the currently running process in unix server?
Give the command for finding the current date.
What's a command word?
How do I search for text in vi?