Last active
August 7, 2023 13:10
-
-
Save yazanmonshed/d837bb473fdb589b7842c8b655bcba35 to your computer and use it in GitHub Desktop.
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
servers_ips=`aws ec2 describe-instances --region us-east-1 --filters "Name=tag-value,Values=TAG_NAME" "Name=instance-state-name,Values=running" --query 'Reservations[].Instances[].[PrivateIpAddress]' --output text | xargs` | |
echo $cs_server | |
# Pass by IP's to tmux-cssh script | |
./tmux-cssh $cs_serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment