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 / div
chmod 666 tasks will give all users (owner, group and
others) the read-write permission.
r = 4
w = 2
x = 1
therefore rw = 4+2 =6
ls -l : lists a large amount of information of all non-
hidden files and directories in the current working
directory. eg (permissions, owners, size, and when last
modified.)
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is rmdir command?
How do I run a whois command?
What is grep in bash?
What is awk command used for?
What is unix command line?
Explain ‘library functions’ with respect to unix commands?
Explain command to show the space allocation of files?
Write a command to display a file’s contents in various formats?
What is the command to view process running?
How can we use grep command in unix?
Enlist some filename manipulation commands in unix.
What is the use of the tee command?
Which unix command lists files/folders in alphabetical order?
What is pipe command in unix?
What are the unix commands?