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 |
If we want to see first 35 lines of a file which command we have to use?
How does a user get the current date, time in UNIX?
in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?
what does a process mean?
What is command substitution?
What is $0 bash?
What does find command return in unix?
what is the difference between npar and vpar in HP-UX?
Describe the zip/unzip command using gzip.
How does the system know where one command ends and another begins?
How to find the files that are accessed before 10 minutes?
Name the general commands in using unix os for a beginner?