The signal that is sent to a process when the key combination CTRL+C is pressed on the keyboard is B, SIGINT.
Here's how it works:
When you press the CTRL+C key combination in a terminal, it sends a signal to the foreground process group associated with that terminal.
The default signal that is sent is SIGINT, which stands for "signal interrupt".
The SIGINT signal is typically used to request that a process terminate gracefully.
SIGSTOP (signal stop):
This signal is used to stop a process. Its default action is to suspend the process and put it in the background, allowing it to be resumed later using the SIGCONT signal.
SIGKILL (signal kill):
This signal is used to forcefully terminate a process. Its default action is to terminate the process immediately and unconditionally, without giving the process an opportunity to perform any cleanup. Because of its extreme nature, it should be used with caution, and should only be used as a last resort when other signals or methods have failed to terminate a process.
In Unix-like operating systems, SIGTERM (signal termination) is a signal that is typically sent to a process in order to request that it terminate gracefully. Unlike the SIGKILL signal, which forces a process to terminate immediately and unconditionally, the SIGTERM signal allows a process to perform any necessary cleanup or shutdown procedures before terminating.
upvoted 1 times
...
...
This section is not available anymore. Please use the main Exam Page.LX0-103 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
linux_admin
2 years, 2 months agolinux_admin
2 years, 2 months ago