After running the following commands (WARNING: dont run!)

mkdir tmp1
mkdir tmp2
mv tmp1/ tmp2/

my Bash on Windows terminal got completely stuck while executing the mv command and wouldn't complete it. Not even Ctrl+C could interrupt it. When I forcefully closed the bash shell and started up a new one the terminal still seems stuck and won't provide a prompt to enter any commands. How can I fix this?


This is currently a known issue where a deadlock is caused due to the handling of paths with trailing slashes.

It should be fixed in a follow-up update, but for now you'll have to restart Windows before you can use the Bash on Windows shell again.

Moving folders should be fine if you avoid trailing slashes:

mv tmp1 tmp2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.