[CentOS] time command

Tue Apr 10 18:15:25 UTC 2007
chrism at imntv.com <chrism at imntv.com>

Stephen Harris wrote:
> On Tue, Apr 10, 2007 at 01:34:23PM -0400, Jerry Geis wrote:
>
>   
>> I can do "time command" and it tells me.
>>     
>
>   
>> time command; command
>>     
>
> No, because you're saying
>   time command
>   command
>
>   
>> time "command; command"
>>     
>
> No because you're trying to run "command; command"
>
> What you want is
>   time ( command ; command )
>   

Or if you've got a long series of commands you could stash them all in 
one shell script and then:

time scriptname

Correct?

Cheers,