Linux Today: Linux News On Internet Time.

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

Nov 17, 2017, 12:00 (0 Talkback[s])
(Other stories by Anonymous)

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.

Complete Story