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 8:23 am  
to restart Linux use this # restart -n
 andre  Sat Jan 28, 2012 3:51 am  
you can also use

shutdown -ry 10

10 is 10 minutes...
Add a comment
Name:
Website:
Comment:
Please note: Offensive comments, flaming and spamming is not permitted on this site and your comment will be deleted immediately.

HTML is not allowed.

Please provide all comments in English so that others can help you. A common helper in this is to use an online translator.

As a security measure your ip will be recorded.
 
Anti-Robot Check:

Enter the key you see above.

What is this?: This extra test has been added due to the recent explosion of spam.
 

Loading