我在 linode 服务器上安装了 ubuntu server 12.04。每次我执行一些未找到的命令时,都会引发如下错误:
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:
command-not-found version: 0.2.44
我尝试寻找答案,但没有找到解决方案。有什么方法可以删除这些详细的错误报告吗?
答案1
将以下行添加到您的 ~/.bashrc:
unset command_not_found_handle
或者通过以下方式删除:
sudo apt-get remove command-not-found command-not-found-data