In UNIX, what is the command to kill a process?

Answer Posted / yuvaevergreen

kill

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 is used to create a directory?

557


Write a command to kill the last background job?

608


What do chgrp command do?

582


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

813


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

620






Is command prompt unix?

570


Explain ‘library functions’ with respect to unix commands?

594


Which command should you use to find the remaining disk space in unix server?

695


what is the advaantage of each user having its own copy of the shell?

2022


What is the significance of the 'tee' command?

590


What is sed awk grep?

598


What is a bash command?

618


What are bash commands?

583


Why is awk called awk?

573


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:

1749