I have a few shell scripts that run on my webserver which runs CentOS release 4.3 (redhat). I am interested in timing these scripts to see how long they are taking, but I have only been able to figure out how to determine total # of seconds, like:
echo `expr $endTime - $beginTime`
so this script will output "90". I would like to make it output "1:30" or perhaps "00:01:30"
is there any way??