Subscribe to Tutorial Feed

Flash and PHP Bible

The Flash and PHP Bible has been released! The book can be found on Amazon or wherever fine books are sold in your area.

The Flash and PHP Bible has a forum for quick support.

Scriptplayground » tutorials » linux » Restart Linux Server from the Command Line

Restart Linux Server from the Command Line

How to quickly restart a server using the command line.

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

Reposted from mkeefeDESIGN Blog

Follow Scriptplayground on Twitter (@scriptplay)

Comments: Restart Linux Server from the Command Line

 issamux  Tue Feb 9, 2010 3:23 am  
to restart Linux use this # restart -n
 andre  Fri Jan 27, 2012 10:51 pm  
you can also use

shutdown -ry 10

10 is 10 minutes...
Add a comment
The ability to add new comments has been disabled in this archived version.

Loading
Main | Tutorials | Articles