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


Please Help Members By Posting Answers For Below Questions

Explain command to show the space allocation of files?

633


What are some command words?

569


Who command in unix?

580


What is the use of egrep command in unix?

630


Which command is used to kill the last background job?

787






Which command is used to create a directory?

577


How to use grep command to list find the records of a file containing 10 different strings?

652


How do I clear my terminal history?

588


What are the differences among a system call, a library function, and a unix command?

571


What is the general format of unix command syntax?

698


Why is it called a shebang?

575


What is awk good for?

592


Why is it called grep?

565


What is the pipe command?

586


What is sed awk grep?

609