Time the execution time of multiple commands
Solution 1:
You could try to wrap it in a shell command:
/usr/bin/time /bin/sh -c 'ls;pwd;ls'
Solution 2:
Using time
use () to create a subshell for the commands you wish to time. The syntax would be:
time ( ls; pwd; ls )
If using /usr/bin/time
then add the commands to a shell script (for example my.sh) and
time the shell script-:
/usr/bin/time my.sh