Reboot Linux System Command

h‮sptt‬://www.lautturi.com
Reboot Linux System Command

To reboot a Linux system, you can use the reboot command. This command will shut down the system and then restart it.

For example, to reboot the system immediately, you can run the following command:

reboot

This command must be run as the root user, or using sudo.

Alternatively, you can use the shutdown command with the -r option to reboot the system. For example:

shutdown -r now

This command will also shut down the system and then restart it. Like the reboot command, it must be run as the root user or using sudo.

You can also use the systemctl command to reboot the system. For example:

systemctl reboot

This command will also shut down the system and then restart it. It can be run as the root user or using sudo.

It's important to note that these commands will terminate all processes and shut down the system, so be sure to save any unsaved work before rebooting the system.

Created Time:2017-10-30 14:27:14  Author:lautturi