Assuming you've just entered the command shutdown -h now (or something equivalent), is there realistically anything you can do (if you're quick enough) to prevent the machine shutting down?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|||
|
You can run |
|||||||||
|
|
If you are fast enough you can issue an I tried this with the script below and and even it's not fast enough to stop the shutdown
Where as interactively
the system stays up. |
|||
|
|

shutdown -h now, I believe you lose command line access immediately similarly tohalt -pso there isn't much you can do. – Ken Jan 18 '11 at 16:41