nerdexam
LPI

201-450 · Question #343

What effect does the -f option to the update-rc.d command have on files in the /etc/rcX.d/ and /etc/init.d/ directories?

The correct answer is D. It will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists. You've hit your weekly limit · resets 5am (America/New_York)

System Startup

Question

What effect does the -f option to the update-rc.d command have on files in the /etc/rcX.d/ and /etc/init.d/ directories?

Options

  • AIt will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only
  • BIt will remove both the symlinks in /etc/rcX.d/ and the init script in /etc/init.d/
  • CIt will remove the init script in /etc/init.d/ and the symlinks in /etc/rcX.d/ and update the
  • DIt will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists

How the community answered

(48 responses)
  • A
    4% (2)
  • B
    15% (7)
  • C
    6% (3)
  • D
    75% (36)

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#update-rc.d#init scripts#rcX.d symlinks#service management

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice