---

Command line fun: Insult the user when typing wrong bash command

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.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis