-bash-4.2$
在网上找了解决方案:
1、在根目录下建立root目录。
2、拷贝/etc/skel目录下的.bash_logout和.bashrc和.bash_profile到root目录即可。
3、cd /root
source .bashrc
source .bash_profile
-bash-4.2$
在网上找了解决方案:
1、在根目录下建立root目录。
2、拷贝/etc/skel目录下的.bash_logout和.bashrc和.bash_profile到root目录即可。
3、cd /root
source .bashrc
source .bash_profile
本文标题:ssh到linux时, 当前目录变成-bash-4.2
本文链接:https://www.haomeiwen.com/subject/porgjxtx.html
网友评论