Assume the following files are in the working directory
prompt> ls -l tasks
-rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks
What command can Alex use to give everyone permission to
write to the file? What will the ls -l
command display if he does so?

Answer Posted / piyush

chmod a+2 <filename>

This gives permission to all to write the file.
If you enter command as ls -l <filename>, It will display
-rw-rw--rw--

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is merge command in unix?

947


Who invented grep?

660


Using unix command how to display no of records in oracle?

615


What is time_t?

592


Which command should you use to find the remaining disk space in unix server?

715






How do I search for a file in unix command?

553


Is grep faster than awk?

570


Enlist some filename manipulation commands in unix.

556


What are the commands in UNIX to list the files in a Directory?

622


What does 'mkdir' command do in UNIX?

667


What does this command do? Cat food 1 > kitty

984


What is awk used for?

626


Why is shebang used?

600


Explain how to use grep command to list find the records of a file containing 10 different strings?

600


What is the use of awk command in unix?

585