You can configure sudo command to insult user when they type the wrong password. Now, it is possible to insult the user when they enter the wrong command at the shell prompt. It use a new builtin error-handling function named command_not_found_handle in bash 4.x.