How do you change file permissions and ownership in Unix?
Answers were Sorted based on User's Feedback
• 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 |
Answer / 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 |
How do I delete files from command prompt?
to list a particular line in the file
What is the search command in unix?
How to get the operating system's information in unix?
What is the function of grep command in unix?
How to delete a directory containing files and folders?
how many types of file in unix?
34 Answers MNC, TCS,
How do you execute a UNIX command in the background?
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
What is command statement?
What is merge command in unix?
How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.