nerdexam
CompTIA

XK0-004 · Question #127

A junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?

The correct answer is A. chkconfig <service> on. "chkconfig <service> on" affects by default runlevel2, runlevel3, runlevel4, runlevel5. https://geekflare.com/how-to-auto-start-services-on-boot-in-linux/

System Management

Question

A junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?

Options

  • Achkconfig <service> on
  • Bsystemctl <service> bootup
  • Cservice <service> enable
  • Dcrontab install <service>

How the community answered

(59 responses)
  • A
    90% (53)
  • B
    2% (1)
  • C
    5% (3)
  • D
    3% (2)

Explanation

"chkconfig <service> on" affects by default runlevel2, runlevel3, runlevel4, runlevel5. https://geekflare.com/how-to-auto-start-services-on-boot-in-linux/

Topics

#systemd#service management#boot startup#chkconfig

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice