问题:
原因:误删 .bash_profile、.bashrc 文件
下面的几个配置文件丢失:
1、.bash_profile
2、.bashrc
解决办法:
使用以下命令从主默认文件重新拷贝一份配置信息到 该用户your 目录下(需要 root 权限)
cp /etc/skel/.bashrc /home/your
cp /etc/skel/.bash_profile /home/your
退出重新登录即可
------ END ------