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 / kapil

chmod ugo+w tasks (press "enter key")
after doing this..
prompt> ls -l tasks
result will show as.
-rw-rw-rw-1 alex student 1423 Feb 21 14:01 tasks

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command will print your home directory on screen?

549


Write a command to display a file’s contents in various formats?

631


What is in grep command?

653


What does sed command do in unix?

568


What do know about tee command and its usage?

592






Explain command to display different lines that are found when compare two files?

680


What are bash commands?

601


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)?

966


What are file commands?

657


Differentiate cmp command from diff command.

593


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1769


What does grep v do?

564


Which command is used to copy files?

564


What's a command word?

593


Explain command to show the space allocation of files?

633