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

Explain the steps that a shell follows while processing a command.

767


What is the difference between cat command and more command?

677


What is unix command line?

705


Write a command to kill the last background job?

702


What is in grep command?

738






What is the command to find hidden files in the current directory?

692


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

710


Does cp command overwrite files?

706


How do you repeat a command in terminal?

707


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

679


What is the difference between cat and more command?

759


Are you in or at the office?

708


Is ‘du’ a command? If so, what is its use?

718


What are awk commands?

671


Which unix command to make a new directory?

687