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 to display space usage on the UNIX file system.

16 Answers  


what is the use of "fg" command ?

5 Answers   PSU, Sail,


Which unix command to make a new directory?

0 Answers  


Which command can you use to find the currently running process in unix server?

0 Answers  


Why is awk called awk?

0 Answers  


what is the use of nice command?

4 Answers  


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

2 Answers  


in a growing log file how will you see the 1st 99 lines?

7 Answers  


What is the difference between pipe (|) and tee command in unix

14 Answers   Cap Gemini, TCS,


What do chmod, chown, chgrp commands do?

0 Answers  


what is the use of "test" command in unix?

4 Answers  


In vi editor how do you execute unix commands?

10 Answers  


Categories