I know I'm stupid, but I was working on vscode on my project directory. And I saw a subdirectory called "~", with nothing inside. I thought I would have created by mistake so I wanted to delete it. From the interface I was not able to remove it so I did it from the terminal.
rm -rf ~
No permissions, (now I understand why), so I did it with sudo.
sudo rm -rf ~
And later I realized what I just made.
Is there a way to recover my user home directory.
Thank you so much.