The time Command
The time command is a built-in command in the Korn shell and functions the same as the Unix times command. Here, the ls command is timed. It indicates the amount of elapsed, user, and system time spent executing the ls command:
$ time ls /usr/spool/uucppublic mail real 0m0.33s user 0m0.05s sys 0m0.18s
Get Korn Shell: Unix and Linux Programming Manual, Third Edition, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.