101-500 Exam QuestionsBrowse all questions from this exam

101-500 Exam - Question 46


Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard?

Show Answer
Correct Answer: E

Ctrl+C sends the SIGINT (Signal Interrupt) signal to a process, which is designed to interrupt and terminate the process gracefully.

Discussion

4 comments
Sign in to comment
GrandsumiOption: E
Jan 6, 2023

E is correct. Ctrl + C actually passes SIGINT(2).

NeoSam999Option: E
Jan 10, 2023

Correct Answer: E Ctrl+C - SIGINT Ctrl+\ - SIGQUIT Ctrl+Z - SIGTSTP

naTpuoTOption: E
Oct 3, 2023

Correct E - SIGINT is the signal sent when we press Ctrl+C Ctrl + C vs Ctrl + Z | Are they the Same? No, they are not. People ordinarily tend to confuse Ctrl + C and Ctrl + Z, as both of them seem to carry out a similar functionality, if not entirely the same. Indeed, both Ctrl + C and Ctrl + Z can interrupt a running process, but the task that follows differs. Ctrl + C will terminate the process after it has interrupted and stopped the running process. On the other hand, Ctrl + Z will only pause the process temporarily, and send the running process to the background. The user is then able to run any other terminals processes in the meantime, and once done, the user can again bring the paused process back to the foreground, by means of using the fg command inside the terminal. https://www.programmerhat.com/linux-ctrl-c/

NinymoOption: E
Mar 24, 2024

Answer: E