I'm playing with bash scripts. I want to loop through a range starting at 1, and for now, just ending at 5. (would like to accept inputs but I can do that in a bit).
#!/bin/sh
for i in {1..5}
do
echo "i is now $i"
done
My current bash version is 4.4.20(1)-release
Why is this not looping through the provided range? Is this not correct syntax?