[CentOS] time command
chrism at imntv.com
chrism at imntv.com
Tue Apr 10 18:15:25 UTC 2007
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,
More information about the CentOS
mailing list