#今天登陆阿里云发现主机名丢失,连接了几个服务器发现是个别现象
-bash-4.2# ls -a /root
. .. .bash_history .cache .java .oracle_jre_usage .pip .ssh .viminfo
#修复
cp /etc/skel/.bashrc /root
cp /etc/skel/.bash_profile /root
#重新登陆
[root@pay1 ~]# ls -a /root
. .. .bash_history .bash_profile .bashrc .cache .java .oracle_jre_usage .pip .ssh .viminfo