I have to write a script that reads a number and counts it down to 0.I keep getting this error:practice123.sh: line 10: let: 1=[: attempted assignment to non-variable (error token is =[) I can't seem to get the loop to count down properly. I'm using shell check, and my syntax seems fine. Any input would be appreciated.#!bin/bash# This script will take one number from the CLI and see if the argument  given is a valid variable. Then it will count that variable down to 0.var1=var1echo Enter a number.read var1until [ $var1 -le 0 ]do    echo $var1    let $var1=[ $var1 -1 ]done
Write a script that reads a number and counts down to 0?
bash;shell script