The time Command

   

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
     



    Korn Shell. Unix and Linux Programming Manual, Third Edition
    Korn Shell. Unix and Linux Programming Manual, Third Edition
    ISBN: N/A
    EAN: N/A
    Year: 2000
    Pages: 177

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net