Re: time command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



You could also put all your commands in a shell script then call your
shell script like:

time /path/script.sh

Matt

On 4/11/07, Bisbal, Prentice <PBisbal@xxxxxxxxxxxxx> wrote:
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 )

I was going to suggest that myself, but when I tested in in bash, it
didn't work for me. Does it work for you?

--
Prentice



The contents of this communication, including any attachments, may be confidential, privileged or otherwise protected from disclosure.  They are intended solely for the use of the individual or entity to whom they are addressed.  If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication.  Please notify the sender immediately and delete the communication in its entirety.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux