
Jake Z. answered 05/24/20
Experienced Linux Systems Programmer with an Emphasis on C
There is actual a builtin command in BASH called time, which takes another command as an argument and returns the execution time. NOTE: If the time is too small to measure it may just list as 0.
For example: