timing multiple commands

Woodchuck djv at bedford.net
Sat Jun 3 15:05:22 PDT 2006


On Fri, 2 Jun 2006, Craig Hammond wrote:

> Hi,
> How do I measure the time of multiple commands.
>
> 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.

time ( make depend && make )

works in ksh

Dave



More information about the Openbsd-newbies mailing list