O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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
				

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required