当我打开终端时,收到以下错误消息:
No command 'expert' found, did you mean:
Command 'expect' from package 'expect' (main)
expert: command not found
No command 'expert' found, did you mean:
Command 'expect' from package 'expect' (main)
expert: command not found
然后它显示典型的“nathan@nathan-HP-Pavilion-dv6-Notebook-PC:~$
我做了什么导致此问题,或者至少,我该如何解决此问题?”我经常使用终端,因此这很烦人。
答案1
您的 ~/.bashrc 或 ~/.profile 文件中可能存在拼写错误 - 猜测是您输入了expert
如下export
命令export PATH=$PATH:/some/prog/path