作者:520谢鹏 | 来源:互联网 | 2020-08-14 11:37
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
export PATH
此时,只要在export PATH前面加入自己的路径即可,例如我的修改后如下:
PATH=$PATH:$HOME/bin:/sbin:/usr/bin:/usr/sbin
推荐教程:linux教程
以上就是linux系统提示找不到命令的详细内容,更多请关注 第一PHP社区 其它相关文章!