Command 'bash' is available in '/bin/bash'
The command could not be located because '/bin' is not included in the PATH environment variable.
bash: command not found
Please: command not found
每次我注销时都会出现同样的问题,我已经更改了 .bash_profile,但在重新登录后它不起作用。
答案1
您可能搞乱了您的PATH
环境变量。
重置(任意选项):
PATH=$(getconf PATH)
source /etc/environment
如果这些都不起作用,你可以重置你的~/.bashrc
和~/.profile
文件,方法是从/etc/skel