CompTIA Linux+ (XK0-005) — Question 179
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?
Answer options
- A. bg
- B. bg
- C. jobs -1
- D. bg &
Correct answer: A
Explanation
The correct answer is A, as the 'bg' command is used to resume a suspended job in the background. Option B is the same as A, so it is also correct but not the best choice. Option C, 'jobs -1', is used to list jobs but does not move a process to the background. Option D, 'bg &', is incorrect syntax as 'bg' alone is sufficient.