Reboot the system immediately.
reboot is a command to reboot the system immediately.
Usually, the shutdown command is used to stop the system, but reboot is a shortened form of the shutdown command.
To reboot the system with the shutdown command, you need to add the option "r" as an argument, but reboot does not need any argument.
There is also halt, which is a command to stop the system immediately as well as reboot.
For reboot [root@Lion ~]# reboot Broadcast message from root (pts/0) (Wed Apr 11 17:17:07 2020): The system is going down for reboot NOW! ←A reboot message will be displayed to the logged-in user, and the reboot process will begin For shutdown [root@Lion ~]# shutdown -r now Broadcast message from root (pts/0) (Thu Jun 10 14:07:46 2020): The system is going down for reboot NOW! |