how to time a process in bash code example
Example 1: how to time a process in bash
> time { sleep 3; }
real 0m3.013s
user 0m0.002s
sys 0m0.006s
Example 2: tic toc command bash
tic #start time counting
toc #display time elapsed since last tic