解决CentOS 7 由原来的root@localhost~# 变成了-bash-4.2#
发生这种原因可能是/root/目录下缺少了几个配置 .bashrc 和 .bash_profile进入/etc/skel/ 目录下将.bashrc 和 .bash_profile复制到/root/目录下cp /etc/skel/.bashrc /root/cp /etc/skel/.bash_profile /root/reboot 或重新连接后即可恢复...
原创
2021-05-07 19:08:53 ·
1166 阅读 ·
0 评论