I have this command:
time -p sh -c 'command1; command2;'
So command1
and command2
is executed and I get the real, user and sys time printed on the console.
But I want that command1; command2;
is looped 10 times and then I want to get the time which is used for the two commands.