Dave's Brain

Browse - Computer Tips - How can I cancel a reboot?

Date: 2010jun8
OS: Linux
Keywords: abort

Q.  How can I cancel a reboot?
I run the "reboot" command and now I am having second thoughts.

A.  As root do:

init 5
This will get you back to run level 5. Of course, you have to do this quickly. Some services may have already been stopped so you should check them. If you ran "shutdown -r <time>", you can cancel with:
shutdown -c

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.