用 time 实用程序的命令来确定花费的时间。 此实用程序有两个版本:内置 shell 和程序 (/usr/bin/time)。
tux@mercury:~> time find . > /dev/null real 0m4.051s user 0m0.042s sys 0m0.205s