SLEEP_SEC=5 COUNT=0 while :; do let COUNT=$COUNT+1 echo -e " HELLO $COUNT" sleep $SLEEP_SEC done