1 2 3 4 5 6 7 8 9 10 |
#!/bin/bash servidor="01 02 03 04 05 08 09 10 11" puertos="2105 2106 2107 2108" for num in ${servidor} do for n_p in ${puertos} do echo "============== CHECK servidor${num} == Puerto ${n_p} ============" done done |