Berkeley Software Distribution (BSD) Question:

Download Job Interview Questions and Answers PDF

Explain the difference between SIGTERM and SIGKILL?

BSD Interview Question
BSD Interview Question

Answer:

SIGTERM asks the application to terminate in a polite way, it warns about the pending closure and asks the app to finish whatever it is doing. SIGKILL will kill the process no matter what. This is telling the application that it will be shut down no matter what.

Download BSD Interview Questions And Answers PDF

Previous QuestionNext Question
How do you change your shell to bash?Explain the difference between SIGHUP, SIGUSR1 and SIGUSR2?