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

I accidentally moved /usr/bin on wsl and now I can't open a new terminal

$
0
0

I tried to move a binary from my /usr/bin to my home directory on ubuntu WSL so I accidentally ran

sudo mv /usr/bin ~

Now I can't even open a new ubuntu terminal to undo the move.

I tried undoing the move from Windows by running:

wsl -e /home/<username>/usr/bin/sudo /home/<username>/usr/bin/mv /home/<username>/usr/bin /usr/bin

but I can't run any ubuntu commands from the wsl command

Is there a way to undo the move or do I have to reinstall the WSL distro?


Viewing all articles
Browse latest Browse all 2810

Trending Articles



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