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 the difference between cat and more command?
What is the command to find maximum memory taking process on the server?
What is {} in find command?
Is grep faster than awk?
What is updatedb?
What is used to type command?
Write a command to display a file’s contents in various formats?
What does the md command do?
Is it inbetween or in between?
How do I delete files from command prompt?
What does #!/ Bin sh do?
Why is shebang used?
What does 'mkdir' command do in UNIX?
What is sed awk grep?
What is the first character of the output in ls l command?