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 / subhojit saha

chmod 666 tasks

-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

What is the difference between cat and more command?

640


What is the comma to display different lines that are found when compare two files?

601


Explain mount and unmount command.

627


What is difference between grep and find command in unix?

592


hw will u use awk in replacing cahrs and files

2742






Explain ‘system calls’ with respect to unix commands?

608


Which command is used to find whether the system is 32 bit or 64 bit?

641


Which command can you use to find the currently running process in unix server?

596


What is time_t?

596


What is ‘ps’ command for?

624


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:

1773


What is merge command in unix?

956


What will the following command do?

627


What does this command do? Cat food 1 > kitty

984


How do I delete files from command prompt?

555