bash do not support floting point in varibles. so use seq command output, for fp in $(seq 1.0 .01 1.1) do echo $fp; other stuff too done https://www.oreilly.com/library/view/bash-cookbook/0596526784/ch06s13.html