command not found has crashed most commands not working what to do?

Created by Zygmunt Krynicki
Keywords:
command-not-found crash exception error
Last updated by:
Zygmunt Krynicki

command not found has crashed most commands not working get the same message everytime

Have a look at:

http://blog.suxx.pl/2013/04/why-is-command-not-found-crashing.html

Possible workarounds:

1) Fix your putty settings (switch encoding to UTF-8)
2) Install relevant language pack on your server (eg, sudo apt-get install language-pack-en)
3) If you are using OSX unset CTYPE before/after logging in (needs someone to verify)