How do you change file permissions in Linux?

Answer Posted / hr@tgksolutions.com

The "chmod" command is used to change file permissions in Linux. For example, "chmod 755 filename" sets read, write, and execute permissions for the owner and read and execute permissions for others.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between swap partition and swap file?

705


What is tty name?

737


What is $$ in shell script?

730


What is the command can be used to check for file corruption?

801


Which command will show you free/used memory? Does free memory exist on linux?

776


What command is used to check the number of files, disk space, and each user’s defined quota?

753


What is the use of finger command in linux?

705


What is cd in cmd?

707


How commands work in linux?

733


Who am I command in linux?

736


How do I check if my cpu is overclocked?

749


What is a makefile in linux?

717


Why makefile is used in linux?

750


You want to verify which lines in the file kickoff contain ‘bob’. Which of the following commands will accomplish this?

786


What does kill in linux?

735