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

What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?

6 Answers   Deloitte, Polaris,


How do I search for text in vi?

0 Answers  


What is the nmap command?

0 Answers  


if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.

28 Answers   TCS,


What is the use of find command in unix?

0 Answers  






How to create hardlinks and softlinks on files?

2 Answers  


How to view the hidden files in /etc directory?

10 Answers  


A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me

7 Answers   CTS,


What is use of sed command?

12 Answers   BitWise, Infosys, Reliance,


How do you create a directory in UNIX?

1 Answers  


How do you stop a running process?

7 Answers  


Which command will you use to change the permissions on file?

7 Answers  


Categories