I am new to Linux & was running some random commands to experiment in terminal (Ubuntu-18.04 LTS) & by mistake I deleted my home directory.
The command I executed is shown in the screenshot of my history below. It was
rm -r /home/dawn
Now all my files are gone, as well as the default folders such as Pictures, Desktop, Screenshots, etc & my desktop screen has turned dark black.
When I tried to open the files icon, it's giving me an error.
Can anyone help me on this?
~/.local/share/Trash
from the linked post? Also OP, I am curious why you wouldrm -r $HOME
? I would suggest using a vm if you are going to experiment with dangerous commands like what you did. That being said there is this https://www.cgsecurity.org/wiki/TestDisk – j-money Nov 20 '18 at 17:08sudo rm -rf /home
, and I stopped it midway, but it was too late for that. Now I don't have any wallpaper and most of the apps are broken. And the text on terminal is weird af. But few days ago, I had done a fresh installation on another partition. Thank god for that precious data – Abhay Patil Jan 05 '21 at 20:40