ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 113 - XK0-005 discussion

Report
Export

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?

A.
gedit & disown
Answers
A.
gedit & disown
B.
kill 9 %1
Answers
B.
kill 9 %1
C.
fg %1
Answers
C.
fg %1
D.
bg %1 job name
Answers
D.
bg %1 job name
Suggested answer: D

Explanation:

The command that will allow the technician to execute the services and continue deploying other microservices within the same terminal session is bg %1 job name. This command will send the job with ID 1 and name job name to the background, where it will run without occupying the terminal.

The other options are incorrect because:

gedit & disown will launch a graphical text editor in the background and detach it from the terminal, but it will not execute any service.

kill 9 %1 will terminate the job with ID 1 using a SIGKILL signal, which cannot be ignored or handled by the process.

fg %1 will bring the job with ID 1 to the foreground, where it will occupy the terminal until it finishes or is stopped. Reference: CompTIA Linux+ Study Guide, Fourth Edition, page 181-182.

asked 02/10/2024
ANIKET PATEL
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first