CompTIA
XK0-004 · Question #170
A systems administrator receives a report that the web server is not running after a planned system reboot. After starting the web server manually, which of the following commands should the…
The correct answer is B. systemctl enable <name>.service. https://geekflare.com/how-to-auto-start-services-on-boot-in-linux/
System Management
Question
A systems administrator receives a report that the web server is not running after a planned system reboot. After starting the web server manually, which of the following commands should the administrator issue to ensure the web server starts at boot time?
Options
- Asystemctl service on
- Bsystemctl enable <name>.service
- Csystemctl service enable
- Dsystemctl on <name>.service
How the community answered
(27 responses)- B93% (25)
- C4% (1)
- D4% (1)
Explanation
https://geekflare.com/how-to-auto-start-services-on-boot-in-linux/
Topics
#systemctl#service management#boot persistence#systemd
Community Discussion
No community discussion yet for this question.