What is a Unix signal, and how do you handle them?

Answers were Sorted based on User's Feedback



What is a Unix signal, and how do you handle them?..

Answer / nashiinformaticssolutions

A signal in Unix is an asynchronous notification sent to a process to notify it of an event, such as an interrupt or termination request. Common signals include:
• SIGINT: Interrupt signal (usually sent by pressing Ctrl+C).
• SIGTERM: Termination signal, which can be caught and handled.
• SIGKILL: Forces a process to terminate immediately and cannot be caught.
Signals can be handled using signal handlers in shell scripts or programming languages like C.

Is This Answer Correct ?    0 Yes 0 No

What is a Unix signal, and how do you handle them?..

Answer / hr@tgksolutions.com

A signal in Unix is an asynchronous notification sent to a process to notify it of an event, such as an interrupt or termination request. Common signals include:
• SIGINT: Interrupt signal (usually sent by pressing Ctrl+C).
• SIGTERM: Termination signal, which can be caught and handled.
• SIGKILL: Forces a process to terminate immediately and cannot be caught.
Signals can be handled using signal handlers in shell scripts or programming languages like C.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

Give the command for finding the current date.

0 Answers  


How do you execute a UNIX command in the background?

6 Answers  


What is clustering in HP and how it's work?

1 Answers   HP,


How do you find path of a directory? Give its syntax.

7 Answers  


Which command is used to kill the last background job?

0 Answers  


Which mode is used for allowing file write,read and append mode?

9 Answers   BitWise, TM,


distinguish between interrupts and exceptions?

2 Answers   Infosys,


Where can I get the free download of Unix by Yeswant Kanetkar?

5 Answers  


what do you understand bythe term 'de-mountable volumes'?

2 Answers   Infosys,


How do you find files in Unix?

2 Answers  


What is the function of grep command in unix?

0 Answers  


what is the use of "fg" command ?

5 Answers   PSU, Sail,


Categories