Last active
February 12, 2018 02:15
-
-
Save lyndell/73b0946f4c1235c7ad78e565f0fa9c1c to your computer and use it in GitHub Desktop.
check_up-time.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/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