Contents[Hide]

1. Name

time [man page] - run programs and summarize system resource usage

2. Synopsis

time   [ -apqvV ] [ -f FORMAT ] [ -o FILE ]
       [ --append ] [ --verbose ] [ --quiet ]
       [ --portability ] [ --format=FORMAT ]
       [ --output=FILE ] [ --version ]
       [ --help ] COMMAND [ ARGS ] 

3. Examples

Measure time for running program time itself:

$ time 

Measure time for running program
Measure execution time of "find" command and redirect stderr to /dev/null:

$ time find / -name resolv.conf 2>/dev/null 

Measure execution time of find



Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top