Bash Internal variables $SECONDS


Example

The number of seconds a script has been running. This can get quite large if shown in the shell:

~> $ echo $SECONDS
98834