Re: time command

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



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,

_______________________________________________
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