发生这种原因可能是/root/目录下缺少了几个配置 .bashrc 和 .bash_profile
进入/etc/skel/ 目录下
将.bashrc 和 .bash_profile复制到/root/目录下
cp /etc/skel/.bashrc /root/
cp /etc/skel/.bash_profile /root/
reboot 或重新连接后即可恢复
发生这种原因可能是/root/目录下缺少了几个配置 .bashrc 和 .bash_profile
进入/etc/skel/ 目录下
将.bashrc 和 .bash_profile复制到/root/目录下
cp /etc/skel/.bashrc /root/
cp /etc/skel/.bash_profile /root/
reboot 或重新连接后即可恢复