WSL access filesystem from Windows Host
From Windows, you can access the filesystem of your WSL (Windows Subsystem for Linux) distributions directly using the $wsl$ network share (exists by default).
For instance, to list my home folder (user “alg”):
ls \\wsl$\Ubuntu\home\alg
This assumes you have a WSL distribution named “Ubuntu”. You can replace “Ubuntu” with the name of your installed WSL distribution. To list WSL distributions, you can run:
> wsl --list -v
NAME STATE VERSION
* Ubuntu Running 2
Debian Stopped 2
To contact me, send an email anytime or leave a comment below.
