The shell now produces an error message when an invalid command is given.