本地机器linux 主机现显示,bash-4.2# 想改为[root@localhost ~],是因为缺少了 .bashrc  .bash_profile ,可以从其他机器拷贝过来一份

[root@localhost ~]#  scp -r .bashrc  .bash_profile root@192.168.65.65:/root

拷贝完成后,重新进入即会修改

bash-4.2# su root
[root@localhost ~]#

posted on 2021-10-15 10:57  知不可见  阅读(41)  评论(0编辑  收藏  举报