Solaris- Read command from user input

I need to write a bourne shell script (solaris 10) that accepts input from the user. The input will be a command- any command like ls/ pwd/ mv etc. After the input is read, the shell must execute the command supplied by the user.

I know we use read to play with user inputs. Just not sure how to execute the input.

Please can someone assist?

try

read command
exec $command

Thanks !!