so, I wanted to rename the user and its corresponding home folder following the instructions mentioned here How do I change my username?. However, what this made me is to rename the account, not the folder, and apparently I deleted all the contents of the home folder! Now I am also not able to log into the account through the ubuntu 11.04 desktop version and frankly I am a bit lost on how to solve this issue cause I do have a valuable data in the home folder.
ls -la of the folder:
dr-x------ 3 sheldon sheldon 4096 Mar 5 12:31 .
drwxr-xr-x 5 root root 4096 Mar 5 12:04 ..
-rw------- 1 root root 2013 Mar 4 17:44 .bash_history
Any ideas? How can I restore everything as it was and get my data back?
Thanks a milion!
ls -la
of the folder"? What folder?/home
? If you deleted your user folder, the data is gone, unless you want to dive into data recovery but that might be a bit over your head if your Linux skills are only elementary.