[CentOS] time command

Tue Apr 10 21:17:03 UTC 2007
Warren Young <warren at etr-usa.com>

chrism at imntv.com wrote:
> Or if you've got a long series of commands you could stash them all in 
> one shell script and then:
> 
> time scriptname
> 
> Correct?

Yes, as long as all of the actions in the script run synchronously.  If 
one of them forks itself off into the background, time(1) won't see it 
since it only reports the lifetime of the shell script interpreter.