timing multiple commands

Craig Hammond Craig at sbisolutions.com.au
Thu Jun 1 20:52:24 PDT 2006


Hi,
How do I measure the time of multiple commands.
 
eg, I want to measure how long it takes to compile a kernel.
 
If I do:
    time make depend && make
 
The time command gives me how long it takes to do the make depend, not
the combined
time of  make depend && make.
 
I can put the two command in a shell script and time it, but I was
trying to find an easy
way I could just do it at the command line.
 
Thanks,
Craig.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.theapt.org/pipermail/openbsd-newbies/attachments/20060602/c8843457/attachment.html


More information about the Openbsd-newbies mailing list