Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / dilipsimha

kill -9 <pid>
this is for force killing
kill <pid>
just try to kill
killall <pname>
this is to kill all instances of a process with name pname

killall -9 <pname>

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chmod, chown, chgrp commands do?

1295


What are grep patterns?

1094


Explain ‘system calls’ with respect to unix commands?

1100


What is the use of finger command?

1219


What's a command word?

1185


How do I use grep to find a file?

1119


Enumerate some of the most commonly used network commands in unix?

1177


What does the metacharacter mean?

1141


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:

2273


What does the “echo” command do?

1161


What does #!/ Bin sh do?

1075


Can you explain a little bit about command substitution?

1118


Which command will print your home directory on screen?

1089


What is nr in awk command?

1215


What is grep and how do you use it?

1118