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?