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!'!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Requirements and usage suggestions for. app domain registration

.app域名是由Google推出的顶级域名(TLD),旨在提供安全的在线体验。作为.app域名的管理机构,Google要求所有.app域名都必须使用HTTPS来加密数据传输,以确保用户隐私和安全...

How to modify server DNS address in Linux

DNS is a server used to resolve the backend IP of domain names. Linux, like Windows, has...

Practical and Simple Security Configuration Tutorial for Servers

The most basic security configuration for DNSHE after purchasing a server:Firstly, modify the SSH...

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...

What types of websites are suitable for. ORG domain names ORG domain name suitable for scope sharing

If we are webmasters who built websites in the early days, we should know that COM, NET, and ORG...