Multiple choice technology operating systems

How to send a running process to background?

  1. ctrl+c then bg

  2. ctrl+z then bg

  3. ctlr+m then bg

  4. ctrl+z then fg

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Ctrl+Z suspends a running process, then 'bg' resumes it in background. Ctrl+C terminates the process. 'fg' brings a background job to foreground, not background. Option A's order is wrong.

AI explanation

Ctrl+Z suspends (stops) the currently running foreground process and returns control to the shell; running bg then resumes that stopped job in the background. This is the standard job-control sequence in Unix/Linux shells. Ctrl+C would terminate the process instead of suspending it, so there'd be nothing left to background. Ctrl+M is just a carriage return, not a job-control signal. "Ctrl+Z then fg" would suspend it and then bring it back to the foreground, not background.