Give command that will make the file "run.sh"
executable?

Answer Posted / abhishek dilliwal

chmod +x run.sh

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to search for a file?

776


What is the significance of the 'tee' command?

803


What are awk commands?

785


What does grep v grep do?

751


Explain command to view process running?

796






Describe the usage and functionality of the command rm –r * in unix?

1284


How do I search for text in vi?

754


Name the various commands that are used for the user information in unix.

754


What do know about tee command?

799


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

1177


What does grep v do?

748


What does #!/ Bin sh do?

755


What is the search command in unix?

801


What is .sh file?

824


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:

1949