While Loop October 4, 2020October 4, 2020 by Tyson Gill #! /bin/bash num1=1 while [ $num1 -le 10 ] do echo $num1 num1=$(( num1+1 )) # (( ++num1 )) or (( num1++ )) done Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)