Loops
For loop
#!/bin/bash
for i in $(cat ips); do
echo quit | timeout --signal=9 3 telnet "$i" 443
done
for s in $ONE $TWO $THREE
do
echo "Server ${s}"
done
For loop n times
REPETITIONS=3
for i in $(seq 1 $REPETITIONS)
do
curl https://blaataap.com
done
While loop
while true
do
curl -I -vk https://blaataap.com
sleep 1
done