In Linux operating systems, it is very simple to shut down, restart, or shut down the system after a certain period of time.

You can use the commands in this article in all VPS and VDS packages.

To shut down the server;

shutdown

To restart the server;

reboot

To turn off the server at a certain time (For example, at 22:00);

shutdown -h 22:00

To shut down the server after the minute we specify (For example, after 5 minutes);

shutdown -h +5

To restart the server after the minute we set (For example, after 10 minutes);

shutdown -r +10

Quotation : blog.cliaweb.com