6.20. Time Measurement with time

The time spent by commands can be determined with the time utility. This utility is available in two versions: as a shell built-in and as a program (/usr/bin/time).

tester@linux:~> time find . > /dev/null

real    0m4.051s
user    0m0.042s
sys     0m0.205s