Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2807

I just deleted everything on my Windows system through the ubuntu subsystem. Can I recover the data?

$
0
0

I wanted to delete all my Ubuntu related files from the Ubuntu subsystem within Windows. So I just used sudo rm -rf /* in the Ubuntu home directory.

I did sudo because earlier there were a lot of permissions denied. Now when there were fewer permissions denied, I started getting all sorts of other errors from Windows and then I realized it was also deleting files outside of Ubuntu.

Now everything is working weird even in Windows. I just canceled the command with Ctrl+C as soon as I realized it, but too much has been damaged. Is there a way to fix this? Is there a way to reverse the last command?


Viewing all articles
Browse latest Browse all 2807

Trending Articles



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