Amir Gil wrote:

> [snip]

> 2) A little off-topic - does anybody have a script/code for shutting a
> linux box (hardware shutdown) from a remote terminal?

Type:'shutdown -h 0 '
at the prompt when logged in as root under a telnet session.
This shuts down linux and halts the system.
'shutdown -r 0 '
This would shut down linux and reboot the system.

Put it in your cron file if you want it automated.

I use this to remote reboot a number of cluster machines.

Regards,

Dominic

Reply via email to