Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 2 : SIGTERM (15) / SIGTERM (15)

Advertisement

Detailed Solution

सही उत्तर SIGTERM (15) / SIGTERM (15) है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

In Linux, when the kill command is used without any option, which signal is sent to the process by default? / लिनक्स में जब kill कमांड बिना किसी विकल्प के प्रयुक्त होती है, तो डिफ़ॉल्ट रूप से प्रक्रिया को कौन-सा सिग्नल भेजा जाता है?

1.
SIGKILL (9) / SIGKILL (9)
2.
SIGTERM (15) / SIGTERM (15)
3.
SIGINT (2) / SIGINT (2)
4.
SIGHUP (1) / SIGHUP (1)

Correct Answer: SIGTERM (15) / SIGTERM (15)

Plain 'kill PID' sends SIGTERM (signal 15), asking the process to terminate gracefully. SIGKILL (9) requires the -9 option and forces immediate termination. / 'kill PID' डिफ़ॉल्ट रूप से SIGTERM (सिग्नल 15) भेजता है। SIGKILL हेतु -9 विकल्प आवश्यक है।

Downloaded from PrepSnap (prepsnap.in)