Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
Correct Answer: B
Explanation
The SIGINT signal is sent to a process when the user presses the key combination CTRL+C on the keyboard.
This signal is used to interrupt the process and cause it to terminate, unless the process catches or ignores the signal. The SIGTERM signal is the default signal sent by the kill command to request a process to terminate gracefully. The SIGSTOP signal is used to pause a process and make it stop executing until it receives a SIGCONT signal. The SIGKILL signal is used to force a process to terminate immediately and cannot be caught or ignored by the process. References:
* LPIC-1 Exam 101 Objectives, Topic 103: GNU and Unix Commands, 103.2 Process management
* LPIC-1 Linux Administrator 101-500 Exam FAQ, LPIC-1 Exam 101 Objectives, GNU and Unix Commands (Total Weight: 25)