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 cgsecurity.org/wiki/TestDisk