ubuntu get windows dir read code example
Example 1: where is my ubuntu folder located
C:\Users\NAME\AppData\Local\Packages\DISTRO_FOLDER\LocalState\rootfs
Example 2: how to cd into local machine using ubuntu subsystem
You will find the Windows C:\ structure at /mnt/c/ in the Bash environment.
Therefore, my Documents folder is at /mnt/c/...
therefore to cd into your directory do
cd /mnt/c/...