When scripting in bash or any other shell in *NIX, while running a command that will take more than a few seconds, a progress bar is needed.
For example, copying a b
https://github.com/extensionsapp/progre.sh
Create 40 percent progress: progreSh 40
progreSh 40