Reboot Linux after a kernel update.
Use normal service shutdown handling rather than cutting power.
Which command is appropriate?
reboot requests a managed system restart. Avoid force options during normal operation unless there is a specific recovery reason.
Detailed explanation
rebootCorrect. reboot initiates a normal system restart.
haltIncorrect. halt stops the system rather than restarting it.
logoutIncorrect. logout ends a shell session only.
ssh rebootIncorrect. ssh is the connection client, not a reboot command with this syntax.
Try it yourself
An example you can run in a temporary verification environment.
reboot --helpExpected result
rebootの使用法。再起動は実行しないKey points
- reboot
- Service shutdown
- Avoid force
Notes
- Environment: systemd systemctl互換reboot
- Use a disposable VM or test account when validating installation and SSH behavior.
- Exact command output can vary slightly by distribution and OpenSSH version.
Foundation review
Identify the scope
Rebooting the host differs from halting it, closing a shell, or sending a remote command named reboot.
Check the side effect
Check active users, jobs, and update state before requesting the restart.