Reboot a systemd system immediately through the normal shutdown path.
Let the init system coordinate service and filesystem shutdown.
Which command is correct?
systemctl reboot requests a reboot transaction through systemd, allowing normal service stop and filesystem handling.
Detailed explanation
systemctl rebootCorrect. systemctl reboot requests a normal system reboot.
Correct. systemctl reboot requests a normal system reboot.
systemctl reloadIncorrect. reload asks a service to reread configuration.
Incorrect. reload asks a service to reread configuration.
systemctl restartIncorrect. restart applies to a named unit, not the whole system.
Incorrect. restart applies to a named unit, not the whole system.
systemctl reset-failedIncorrect. reset-failed clears failure state rather than rebooting.
Incorrect. reset-failed clears failure state rather than rebooting.
Try it yourself
An example you can run in a temporary verification environment.
systemctl --help | grep -E 'reboot|Shut down and reboot'Expected result
rebootの説明。実際の再起動は行わないKey points
- reboot means restart
- Normal shutdown handling occurs
- Administrative permission is usually required
Notes
- Environment: Linux / systemd 255以降
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.