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?
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 -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.
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.
D - 100%
systemctl ;-)
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.