Where is the Windows bash directory in Windows?

Solution 1:

I believe this link will answer your question:

https://askubuntu.com/questions/759880/where-is-the-ubuntu-file-system-root-directory-in-windows-nt-subsystem-and-vice

In short:

%localappdata%\Lxss\rootfs

or

C:\Users\Username\AppData\Local\Lxss\rootfs

Solution 2:

The folder changed again:

%localappdata%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs

C:\Users\{Username}\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs