Para bucle en shell script
for i in `seq 1 10`
do
echo $i #Do something here.
done
Difficult Dragonfly
for i in `seq 1 10`
do
echo $i #Do something here.
done
#!/bin/bash
START=1
END=5
echo "Countdown"
for (( c=$START; c<=$END; c++ ))
do
echo -n "$c "
sleep 1
done
echo
echo "Boom!"