Dave's Brain

Browse - Computer Tips - How can I reboot my box in a few minutes?

Date: 2012apr27
OS: Linux

Q.  How can I reboot my box in a few minutes?

A.  As root do this:

shutdown -r +5
or
shutdown --reboot +5
This will reboot your system in 5 minutes. If change your mind, you can do:
shutdown -c
to cancel the scheduled reboot. To reboot now just do:
reboot
as root.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.