Skip to content

Instantly share code, notes, and snippets.

@lyndell
Last active February 12, 2018 02:15
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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