How do you change file permissions and ownership in Unix?
Answer Posted / hr@tgksolutions.com
• 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 rmdir command?
What is .sh file?
What is the comma to show the space allocation of files?
Who wrote grep?
Which command is used to copy files?
How do I find previous commands in unix?
What is pipe command in unix?
What is merge command in unix?
How does the system know where one command ends and another begins?
What does the command '$ls | wc –l > file1' do?
What is awk used for?
What is the difference between cat command and more command?
Name the unix command to find how many days the server has been up.
Write a command that will display files in the current directory, in a colored, long format.
What is command substitution?