解决办法:
1.编辑~/.bashrc文件

vim ~/.bashrc

2.在末尾添加如下代码

if [ -f /etc/profile ]; then
. /etc/profile
fi

3.wq保存退出即可

Logo

更多推荐