Re: [Hampshire] Linux time command for DOS?

Top Page

Reply to this message
Author: Alan Pope
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Linux time command for DOS?
On Fri, Nov 23, 2007 at 09:14:02AM -0500, Andy Random wrote:
>
> On Fri, 23 Nov 2007, Alan Pope wrote:
>
> >On Fri, Nov 23, 2007 at 08:24:17AM -0500, Andy Random wrote:
> >>Ok so slightly off topic but I have a large number of GNU utilities
> >>compiled to run under Windows/DOS but I've never found a version of the
> >>Linux time command.
> >>
> >>I could really use a copy to... well, err, time somethings :)
> >>
> >
> >Do you mean the /usr/bin/time command or the built in time command in bash?
>
> I'm not really too fussy. I guess ideally something equivalent to the
> builtin command, but actually anything which lets me time how long a
> command takes to run would be ok.
>


You say "DOS" but I assume you mean "a command line in Windows"?

If so you can use cygwin as it has the time command:-

http://cygwin.com/packages/time/

Of course you could always grab the source from gnu.org:-

http://directory.fsf.org/project/time/

And compile yourself?

Cheers,
Al.