Measure script execution time
How would I time how long it takes for my script
foo.sh to run?
I'm looking for something akin to
toc in MATLAB.
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Use the unix time command
If you're interested in ticks, you can approximate it with a little help from
|show 1 more comment|