101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 39


SIMULATION -

Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files? killall -s _______ daemon

Show Answer
Correct Answer:

The correct signal to use in the command 'killall -s _______ daemon' to instruct a daemon to reinitialize itself, including reading configuration files, is 'HUP.' The full command should be 'killall -s HUP daemon.' The HUP (Hang Up) signal is typically used for this purpose as it allows the daemon to reload its configuration files and restart necessary processes without terminating the daemon entirely.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclair
Oct 21, 2023

The signal that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files, is `HUP` (Hang Up). So, the missing part of the command is: `killall -s HUP daemon` Sending the `HUP` signal to a daemon typically triggers it to reinitialize itself, reread its configuration files, and restart as needed, all without completely terminating the process. This is a common way to apply new configuration settings to a running daemon.