[Snippet] Restart Linux Server from the Command Line

[Snippet] Restart Linux Server from the Command Line

Another quick snippet.

How to restart a Linux server using only the command line.

Start by opening Terminal (Mac) or Putty (Windows) and enter the following, then hit ENTER.


/sbin/shutdown -r now

Warning: Always make sure the -r is included or the server will simply shutdown. Forcing you to manually reboot it. Unless your host provides something similar to Rapid Reboot (ServerBeach).

1 Comment

Post a Comment