Linux restart command: reboot

Linux also has its own restart command, which is very simple to use. Generally, you only need to enter reboot in SSH to restart. When controlling a VPS server, there is no need to enter the server's backend panel. Simply open SSH and enter the above commands.
Reboot
[Grammar] Reboot [Options]
The reboot command is used to restart the computer. Its function is the same as shutdown - r now.
[Option]
Corresponding functions of options
-Retain current data before restarting.
-Force restart the computer.
-Simulate a restart and write data to the '/var/log/wtmp' log file.
-D restarts, but does not write logs.
-Shut down the network before restarting the computer.
example
Directly restart the computer:
Simply enter the following command in SSH
reboot
After successful execution, the system will prompt 'The system is going down for reboot now!'!

  • Linux, reboot, Linux重启
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to change the root user password of Linux operating system

Changing the root user password of the Linux operating system is a critical operation, please...

Can websites not use SSL certificates? There may be issues with websites not installing SSL certificates

Website security certificate, also known as website SSL certificate. Nowadays, we see many...

Several of the most common encryption and decryption methods

Encryption and decryption are the most commonly used data conversion methods in communication....

Method for modifying server hostname in Linux system

How to modify the hostname in LinuxHow to modify the Linux hostname? You can temporarily modify...

Call WordPress to customize the content of article categories

If we have a custom WordPress article classification, how can we operate it separately if...