reboot Command: Tutorial & Examples
Restart the system
The reboot
command in Linux is used to reboot the system. This command can be executed by a user with root or superuser privileges. It sends an instruction to the Linux kernel to
reboot the system, which will shut down all processes and services, and then restart the system. The reboot command can also be used with options such as -f
(force) and -h
(
halt) to force a reboot or halt the system, respectively. If you want to reboot the system without logging out, you can use the shutdown -r now
command.