Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5956

Accidentally removed my user /home directory - Ubuntu [closed]

$
0
0

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.


Viewing all articles
Browse latest Browse all 5956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>