What is a Unix signal, and how do you handle them?
Answers were Sorted based on User's Feedback
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 |
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 |
Is grep faster than awk?
How do you stop a running process?
In UNIX, what is the command to edit contents of the file?
what are filters?
why metadb requires a seperate slice to create Solaris volume manager
in unix echo is used for
10 Answers BFL, BirlaSoft, Patni,
what is tar command and what are the different types of tar commands?
What is the use of tee command?
distinguish between paging and swapping?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
How to view the hidden files in /etc directory?
How to get a particular string as your prompt ? Give syntax of that command?