2
votes
2answers
5k views

how to time a process in bash? [duplicate]

Possible Duplicate: 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 tic and toc in MATLAB.