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?

1

0

You must log in to answer this question.

Browse other questions tagged .