时间和日期时间和日期

使用 time 进行时间度量使用 time 进行时间度量

time 实用程序的命令来确定花费的时间。 此实用程序有两个版本:内置 shell 和程序 (/usr/bin/time)。

tux@mercury:~> time find . > /dev/null

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