Question: how to calculate the time difference in shell script?
Answer: Really simple, take the number of seconds at the start, then take the number of seconds at the end, and print the difference in minutes:seconds.