今天犯困,又在做危险操作,rm -rf!!!! 结果真的二逼了,删除了/root
不过方法很好解决
-bash-3.2# mkdir /root -bash-3.2# cp /etc/skel/.bash_logout /root/ -bash-3.2# cp /etc/skel/.bash_profile /root/ -bash-3.2# cp /etc/skel/.bashrc /root/
退出,重新SSH
吓出一身冷汗~~
时间: 2025-01-02 15:53:44
今天犯困,又在做危险操作,rm -rf!!!! 结果真的二逼了,删除了/root
不过方法很好解决
-bash-3.2# mkdir /root -bash-3.2# cp /etc/skel/.bash_logout /root/ -bash-3.2# cp /etc/skel/.bash_profile /root/ -bash-3.2# cp /etc/skel/.bashrc /root/
退出,重新SSH
吓出一身冷汗~~