Well, Im trying to practice a bit of shell script but Im stuck at this while loop excercise. I simply want to use whatever number the use inputs as the loop`s condition.
#!/bin/bash
a=0
input=""
echo "Type any number"
read $input
while [$a -lt $input]
do
echo $a
a=`expr $a + 1`
done