In a company there are 3 groups i.e Finance, HR and Marketing. Each groups having 3 members. There is a file named as file1.txt. The permission set for the above file is rwx-rw----x. Now the question is only the members of Hr and Marketing group can view and edit the file. But the file is not accessible to the members of Finance Group. Can anyone tell me what would be the exact command for linux.root@localhost#<type the exact linux command>

Answer Posted / saty

is your question about accessing file1.txt for finance group:

if yes:linux.root@localhost#chmod 0777 file1.txt

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell scripting commands?

523


What does && mean in linux?

555


What Command used to lock user password?

584


What is apple llvm?

528


You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

574






What is grep command in linux with examples?

547


What is make in linux?

525


How does case sensitivity affect the way you use commands?

650


What is a simple command?

561


How commands work in linux?

512


What is the root directory linux?

500


What is the difference between cd and cd in linux?

504


What command would you use to create an empty file without opening it to edit it?

566


What is mkdir p?

558


Which commands are used to set a processor-intensive job to use less cpu time?

556