Home >Computer Tutorials >Computer Knowledge >reboot command
reboot is a command used to restart the computer: 1. In Windows operating system, you can use the "shutdown" command to restart, the syntax is "shutdown /r"; 2. In macOS and Linux operations In the system, you can use the "reboot" command to restart the computer, and the syntax is "sudo reboot".
reboot is a command used to restart the computer. This command may differ in different operating systems. The following are examples of reboot commands in several common operating systems:
shutdown /r
Or use the following command to specify the restart delay:
shutdown /r /t <延迟时间(秒)>
sudo reboot
After entering the administrator password, the computer will restart.
Please note that before executing the restart command, please make sure to save all unsaved work and close all running programs. Restarting causes the computer to shut down and restart immediately, potentially losing unsaved data.
The above is the detailed content of reboot command. For more information, please follow other related articles on the PHP Chinese website!