Which option to the update-rc.d command will cause the removal of all symlinks to /etc/rcX.d/*test2 even when the script /etc/init.d/test2 still exists?
A. -d
B. -f
C. -n
D. -r
題解
Debian 系列的 Linux 發行版可以使用「update-rc.d」指令來啟用、停用或是刪除指定的 init 腳本(的符號連結)。在使用「remove」參數的時候可以搭配「-f」參數來強制刪除仍然存在的指定 init 腳本的符號連結。
例如要刪除「dovecot」這個 init 腳本的符號連結,指令如下:
update-rc.d -f dovecot remove
