2
I stupidly managed to delete my /root
folder on CentOS. I re-created an empty /root folder and set root privs to it, but now my shell string in PuTTY is different.
Whereas it used to say [root@servername ~]$
, now it just says -bash-4.1#
.
What has happened? Have I deleted anything important inside /root
? How can I restore the previous string?
This is a reminder of why good, accessible backups are important. But of course, you already knew that. ;-) – depquid – 2013-04-02T21:25:14.803