CompTIA Linux+ (XK0-005) — Question 67
A systems technician is working on deploying several microservices to various RPM-based systems, some of which could run up to two hours. Which of the following commands will allow the technician to execute those services and continue deploying other microservices within the same terminal section?
Answer options
- A. gedit & disown
- B. kill 9 %1
- C. fg %1
- D. bg %1 job name
Correct answer: D
Explanation
The correct answer is D because the 'bg' command allows a job to run in the background, enabling the technician to continue using the terminal for other tasks. Option A is incorrect because 'gedit' is a text editor and not a suitable command for running services in the background. Option B is wrong since 'kill 9 %1' terminates a job rather than running it, and option C brings the job to the foreground, which does not allow for other deployments in the same terminal.