Login
From:
til.codeinthehole.com
(Uncensored)
subscribe
TIL About Bash's '$SECONDS' shell variable — David Winterbottom
https://til.codeinthehole.com/posts/about-bashs-seconds-shell-variable/
links
backlinks
Roast topics
Find topics
Find it!
Bash provides a $SECONDS environment variable which, if used in a script, returns the number of seconds since the script was started. — can be read in 2 minutes