Korn Shell. Unix and Linux Programming Manual, Third Edition

   

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

By Anatole Olczak

Table of Contents
Chapter 9.  Miscellaneous Commands

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


       
    Top
     

    Категории