XK0-005 · Question #340
An administrator started a long-running process in the foreground that needs to continue without interruption. Which of the following keystrokes should the administrator use to continue running the…
The correct answer is A. bg. When a foreground process needs to be moved to the background without interruption, the standard Linux workflow is: press Ctrl+Z to suspend (pause) the running process, then type the bg command to resume it running in the background. The bg command without arguments resumes the…
Question
An administrator started a long-running process in the foreground that needs to continue without interruption. Which of the following keystrokes should the administrator use to continue running the process in the background?
Options
- Abg
- Bbg
- Cjobs -1
- Dbg &
How the community answered
(60 responses)- A90% (54)
- B2% (1)
- C5% (3)
- D3% (2)
Explanation
When a foreground process needs to be moved to the background without interruption, the standard Linux workflow is: press Ctrl+Z to suspend (pause) the running process, then type the bg command to resume it running in the background. The bg command without arguments resumes the most recently suspended job in the background. jobs -1 is not a valid command (jobs uses %1 for job referencing), and bg & is syntactically incorrect since & is used when launching a command, not with bg.
Topics
Community Discussion
No community discussion yet for this question.