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
Explain the steps that a shell follows while processing a command.
What is the difference between cat command and more command?
What is unix command line?
Write a command to kill the last background job?
What is in grep command?
What is the command to find hidden files in the current directory?
Using unix command how to display no of records in oracle?
Does cp command overwrite files?
How do you repeat a command in terminal?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the difference between cat and more command?
Are you in or at the office?
Is ‘du’ a command? If so, what is its use?
What are awk commands?
Which unix command to make a new directory?