The shutdown command usually allows you to schedule the shutdown. Read the man page. On a typical Linux system, you can get away with "shutdown -r +5" to shut down in 5 minutes. During that five minutes, you can cancel the shutdown command with "shutdown -c".
Alexander
In reply to Re: ssh connection lost during script running when box rebooted and script falls out...
by afoken
in thread ssh connection lost during script running when box rebooted and script falls out...
by sqspat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |