Measure how long a command took to run. Note: time can either exist as a shell builtin, a standalone program or both. More information: https://manned.org/time.
time
command
stdout
time command