---

Get the Execution Time of a Shell Script

In this short tutorial we take a look at the SECONDS built in shell variable. We discuss what it is, how to use it and formatting it to cleanly display the time a shell script took to execute.