Wget Loop Script

IT

wget ile yazılmış bir loop script. Stres testi için birebir.

#!/bin/bash
NUMBER=1
while [ $NUMBER -lt 251 ]; do #This will do our counting
COUNTER=$NUMBER
while [ `echo $COUNTER | wc -c` -lt 5 ]; do #This adds 0’s to the beginning of the number until it’s 4 characters in length, I hope.
export COUNTER=”0″$COUNTER
done
wget http://url/
let “NUMBER += 1” #increment
done

Continue Reading