What is the difference between kill and kill -9 commands?

Answers were Sorted based on User's Feedback



What is the difference between kill and kill -9 commands?..

Answer / bharath

kill <pid>
allows to kill the normal process.
where as
kill -9 <pid>
to kill normal process and also background process.

Is This Answer Correct ?    20 Yes 0 No

What is the difference between kill and kill -9 commands?..

Answer / majeed090

kill <pid>
to kill all process but not kill the some child process
called Zombie process.

kill -9 <pid>
by using this it kills all process forcefully.

Is This Answer Correct ?    8 Yes 0 No

What is the difference between kill and kill -9 commands?..

Answer / sai

kill command uses signal SIGTERM to kill processes by default it is kill -15
kill -9 uses the sinal SIGKILL to kill a processes (i.e force termination of processes )

Is This Answer Correct ?    2 Yes 0 No

What is the difference between kill and kill -9 commands?..

Answer / guest

kill used for terminate the process but kill -9 used to
kill process forcefully

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Linux Commands Interview Questions

What does free command do in linux?

0 Answers  


How do I check memory usage on linux?

0 Answers  


You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?

0 Answers  


How do I move to root in linux?

0 Answers  


The command ‘umask -S’

0 Answers  






How do I check storage on linux?

0 Answers  


Set the Display automatically for the current new user ?

3 Answers  


How we can set the password length in linux?

2 Answers   Wipro,


How do you run command every time a file is modified?

0 Answers  


How do you do nslookup?

0 Answers  


What is dos and its commands?

0 Answers  


What is mask and umask in linux?

0 Answers  


Categories