Re: Timing a program run?
On Thu, 2 Jan 2003 02:07:03 -0800
Paul Johnson <firstname.lastname@example.org> wrote:
> On Thu, Jan 02, 2003 at 03:57:10AM -0600, Gerald Livingston wrote:
> > How the heck do I time how long it takes a certain script to run?
> This isn't shell specific. And you're probably going to have to get a
> surgeon to remove your hand from your forhead from hitting it so
> hard. 8:o)
> time <command>
Where the heck is that documented, and where is the "time" command *AT*?
I typed 'time' at the prompt and got a "syntax error near unexpected
I did a "locate n/time" looking for "time" in a "*bin/" directory --
I searched "man bash-builtins" -- not there.
AHHH -- there it is, in "man bash" buried in "SHELL GRAMMAR -->
Pipelines", where it doesn't stand out at all.
I knew it was simple, just brain dead at 0400.
Configure your Email to send TEXT ONLY -- See the following page:
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)