Archive for July, 2010

Found this on my old harddrive, it’s a shutdown script for all linux terminals so the operator didn’t have to turn it off one by one

#!/bin/sh
for addr in 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
do
ssh 192.168.10.$addr halt
done

Just open a new file, paste it in, save and don’t forget to chmod +x it