- for host in myhosts-{2{2,{6..9}},3{2,5,{7..9}}}.mydomain.com
- do
- echo $host
- echo "ssh $host cmd"
- done
Showing posts with label expansion. Show all posts
Showing posts with label expansion. Show all posts
Wednesday, 3 July 2013
bash: funky hostname expansion in for loop
Subscribe to:
Posts (Atom)
Interview questions: 2020-12
Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer Networking Layer 1 vs Layer 4 haproxy u...
-
CRITICAL: AWS now offers internal VPC DNS! Below is no longer necessary AFAIK. Woo hoo! http://aws.amazon.com/about-aws/whats-new/2014/...
-
build sudo apt-get install git gcc sudo apt-get install automake autoconf git clone git://github.com/rriley/tsunami-udp.git cd tsunam...
-
From: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972#c4 Assumptions: jEdit was installed into /Applications directory. Close any...