How do you change file permissions?



How do you change file permissions?..

Answer / hr@tgksolutions.com

The chmod command, short for "change mode", is employed to modify file or directory permissions. You can use symbolic or numerical notation with this command. For instance, chmod u+x filename adds execute permission for the user (owner), while chmod 755 filename sets permissions to rwxr-xr-x. The command offers flexibility, allowing users to control access to their files and directories precisely.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

how to find largest file?

14 Answers   HCL, Microsoft, Thomson Reuters,


The rm command removes links to file. What does this mean? How then is a file deleted from the file system?

5 Answers  


Explain command to show the space allocation of files?

0 Answers  


What is the command to find maximum memory taking process on the server?

0 Answers  


What is the difference between udp and tcp?

2 Answers   HCL, TCS,


How to find the files that are accessed before 10 minutes?

5 Answers   Amazon,


What is file system in unix??

10 Answers   Symphony,


What is the different between UNIX command and UNIX shell script?

2 Answers  


what is the cmd to display the last exit status in UNIX?

5 Answers   MEIT, Syntel,


What is grep in bash?

0 Answers  


What do you mean by zambie process?

6 Answers  


what is the difference between relative path and absolute path?

7 Answers  


Categories