1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
## vim:ft=zsh:foldmethod=marker local i cd for i in $DEBHOSTS; do mkdir hosts/$i 2>/dev/null || continue; echo $i; preexec $i; ssh $i -t ' sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get clean '; done