shutdown script
i am new to RHEL 4. is there anyway to write script file to shutdown/reboot/ and poweron/poweroff the 50 systems form a single system.
|
Quote:
generics array |
any sample script file please help me
|
Quote:
Im a mandriva user. And im using some command line when i want to a reboot/ power off a certain system in a far location. example: halt - command computer to shutdown reboot - command computer to restart Hope this one helps. |
i am using ssh mode to shutdown from script but i have to enter password for each machine
one of my script line is below ssh root@192.168.34.184 halt |
Quote:
|
To automate this task try to use expect command
http://bash.cyberciti.biz/security/e...-login-script/ generics array |
All times are GMT -5. The time now is 10:09 PM. |