Forcing evaluation of commands

Forcing evaluation of commands

Another builtin function is eval which takes the arguments on the command line and executes them as a command. For example:

   echo "enter a command:"
   read command
   eval $command

Top document