Comment Comment by gcmeplz `SECONDS` is like `PWD`: the shell keeps track of updating it somewhere, and it'll tell you how long your shell has been running.https://www.oreilly.com/library/view/shell-scripting-expert/... parent gcmeplz 5 years ago
https://www.oreilly.com/library/view/shell-scripting-expert/...