Which of the following signals is sent to a process when the key combination Ctrl+Z is pressed on the keyboard?
A. SIGTERM
B. SIGCONT
C. SIGSTOP
D. SIGKILL
E. SIGINT
Which of the following signals is sent to a process when the key combination Ctrl+Z is pressed on the keyboard?
A. SIGTERM
B. SIGCONT
C. SIGSTOP
D. SIGKILL
E. SIGINT
Sorry, the Crtl+z suspends a foreground job. not running a foreground process in the background as previously stated.
The correct option is C SIGSTOP –> Ctrl+z. i.e. putting a running process in background
SIGTSP –> fg : bringing a background process on the foreground using the fg command.
I will recommend reading CompTiA Linux+ by Asghar Ghori
Correct the anwser should be SIGTSTP
https://chrisjean.com/multitasking-from-the-linux-command-line-plus-process-prioritization/
Wrong: The right signal is called SIGTSTP (20)