Nov 7, 2018

How to use counter in Bash script


1
2
3
4
5
6
COUNTER=0
while [ job != "done" ]
do
     echo " ... "
     COUNTER=$[$COUNTER +1]
done