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 the use of egrep command in unix?
Explain ‘library functions’ with respect to unix commands?
What do chgrp command do?
How do you repeat a command in terminal?
Which command is used to restrict incoming messages?
What is the use of tee command?
What is ‘ps’ command for?
How does pipe () work?
Is command prompt unix?
Which command will print your home directory on screen?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do I search for a file in unix command?
How do I search a whole word in vim?
What are the differences among a system call, a library function, and a unix command?
Is it inbetween or in between?