bash: funky hostname expansion in for loop


  1. for host in myhosts-{2{2,{6..9}},3{2,5,{7..9}}}.mydomain.com
    1. do 
      1. echo $host
      2. echo "ssh $host cmd"
  2. done

Comments

Popular posts from this blog

Debugging pfsense firewall rules clearly and easily

Direct ssh to a server via proxy using putty/plink on Windows

telnet vs netcat