-   Linux - General (
-   -   cancelling "shutdown" command (

newbiesforever 11-18-2012 02:18 AM

cancelling "shutdown" command
I just learned that if I enter "sudo shutdown -h -t time [interval]" in a terminal, closing the terminal will not cancel the shutdown. What, then, is the command to cancel the shutdown if I want to?

YJ Lee 11-18-2012 02:47 AM

The shutdown man pages say:


          Cancel a pending shutdown. This may be used cancel the effect of an
          invocation of shutdown with a time argument that is not +0 or now.

I suppose "sudo shutdown -c" will do the trick?

All times are GMT -5. The time now is 08:09 AM.