nerdexam
LPI

201-400 · Question #146

On a Debian based system, which command can be used to stop the apache2 init script from running at boot time once the real script has been removed from /etc/init.d/?

The correct answer is D. update-rc.d apache2 remove. See the full explanation below for the reasoning.

Question

On a Debian based system, which command can be used to stop the apache2 init script from running at boot time once the real script has been removed from /etc/init.d/?

Options

  • Aupdate-rc.d -d apache2
  • Bupdate-rc.d apache2 delete
  • Cupdate-rc.d remove apache2
  • Dupdate-rc.d apache2 remove
  • Eupdate-rc.d delete apache2

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    3% (1)
  • D
    82% (27)
  • E
    9% (3)

Community Discussion

No community discussion yet for this question.

Full 201-400 Practice