Published at LXer:
In this tutorial we will show you how to make three versions of a countdown timer in bash. We start with a simple countdown timer, then progress to a more colorful version, and finally a fancy version which uses tput for screen coloring and cursor positioning. This is an excellent way to display time left on script with a long wait period.
Read More...