[CentOS] time command

Matt Shields mattboston at gmail.com
Wed Apr 11 16:49:02 UTC 2007


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 at lexpharma.com> 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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list