#!/bin/bash #filename.sh echo -n Count: tput sc count=; while true; do if [ $count -lt ]; then let count++; sleep ; tput rc; tput ed; echo -n $count; else exit ; fi done