201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 25


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?

Show Answer
Correct Answer: D

The -f option to the update-rc.d command will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists in /etc/init.d/. This ensures that the symlinks are removed regardless of the state of the init script.

Discussion

4 comments
Sign in to comment
[Removed]Option: A
Jun 23, 2023

Per the man page: https://manpages.ubuntu.com/manpages/xenial/man8/update-rc.d.8.html -f Force removal of symlinks even if /etc/init.d/name still exists.

milan92stankovicOption: D
Jan 19, 2021

D - 100%

Brunfthuf
Jun 29, 2023

systemctl ;-)

chiaseedOption: D
Sep 23, 2023

It's D. Checked the man page :) man update-rc.d Option -F Force removal of symlinks even if /etc/init.d/name still exists.