Restart Debian Linux From Command Line
There are several commands that can restart Debian within no time. The details of these commands are discussed below:
Command 1
The “reboot” command is a widely used command that can be used on the Debian terminal to restart the system. The command is given below:
Note: You will require entering the password to reboot the Debian.
Command 2
The systemctl command is widely used to manage the system services and you can use it to reboot the Debian system as well from the following command:
Command 3
You can also restart or reboot the Debian system by executing the below-given command as well that immediately restart the system.
Command 4
You can also use the shutdown command with the -r argument followed by now to immediately restart the Debian system from the command line.
If you want to schedule the system restart, you can add a delay of a few minutes with the command.
The below-given command will restart the system by displaying the notification that the system is going to restart in the next five minutes:
Command 5
The below mentioned command can be utilized to restart the Debian system from the command line.
Bottom Line
Linux comes with various options to restart the system from the command line. You can use the simple sudo reboot command to restart the system. You can also use the systemctl, sbin, shutdown, or init commands to restart the Debian system as well. The commands are already provided in the above-mentioned guidelines and you can choose the one that suits the best for you.