Executes a command.
the command to execute.
Redoes the last undone command.
Undoes the last command executed.