how to make a for in bash
#in bash
for var in limit
do
#action
done
# done is very important
#more traditionnal for
for (( var = 0; var < 10; var++)
do
echo "var = $var"
done
#output :
var = 0
var = 1
var = 2
var = 3
var = 4
var = 5
var = 6
var = 7
var = 8
var = 9