Skip to content

Instantly share code, notes, and snippets.

@lyndell

lyndell/check_up-time.sh

Last active Feb 12, 2018
Embed
What would you like to do?
check_up-time.sh
#/bin/bash +x
#
# High dependent on my ssh.config file.
#
LIST="z0h p0h pz0h apih"
LIST="z0 p0 pz0 api"
for I in $LIST
do
#
# Couldn't use my BASH alias "s".
#
ssh $I uptime
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment