标签:登陆 root logo logout bash -bash-4.1 用户 -bash mil
问题重现
[root@oldboy-muban ~]# su - oldboy -bash-4.1$ -bash-4.1$ -bash-4.1$ -bash-4.1$ -bash-4.1$ cd /home -bash-4.1$ ls
解决方法:家目录隐藏文件损坏 将/etc/skel 下的.bash*文件复制一份即可
-bash-4.1$ cp /etc/skel/.bash* ~ -bash-4.1$ logout #重新登陆即可 [root@OJ ~]# su - yh [root@yh ~]#
标签:登陆 root logo logout bash -bash-4.1 用户 -bash mil
原文地址:https://www.cnblogs.com/HByang/p/9280820.html