Looping with Numbers

  • + 0 comments
    i=1
    while [[ $i -le 50 ]]
    do
    echo $i
    i=$(($i+1))
    done