bin改错了导致之前的指令不能用的方法

先设置一个临时环境变量:

export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

然后再修改原环境变量。

最后:

source .profile

results matching ""

    No results matching ""