reboot
command is used to restart the system. This command allows for a controlled reboot process,
ensuring that the system is restarted safely and according to any specified options.
reboot [options]
-
s
: Reboots the system to the secondary boot option. -
g
: Retrieves the boot reason, which is a platform-specific value indicating why the last reboot occurred. -
h
: Displays help information.