How do I time a compound command when most but not all commands executed in parallel:
For example the command:
comd1 ; comd2 & comd3 & comd4 & comd5 &
I tried
time (comd1…)
But from the output I can speculate that only comd1
was timed because comd2
to comd5
usually are not so fast to finish executing when being executed alone.