So it looks like what I need is is a requested feature ..... Built in function library
using bash its easy
SECONDS=0
do some work
duration=$SECONDS
echo "$(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."
So it looks like what I need is is a requested feature ..... Built in function library
using bash its easy
SECONDS=0
duration=$SECONDS
echo "$(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."