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
What is grep short for?
What is the general format of unix command syntax?
What does awk stand for?
What is unix command line?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is awk command used for?
how to sort the content of the file based on numeric values
Write a command to display a file’s contents in various formats?
What difference between cmp and diff commands?
What is awk good for?
What is the use of egrep command in unix?
What does the command ' $who | sort –logfile > newfile' do?
How to use grep command to list find the records of a file containing 10 different strings?
Which command is used to kill the last background job?
What happens when we execute a unix command?