Menu & Search
Access Local Files from Windows Subsystem for Linux (WSL)

Access Local Files from Windows Subsystem for Linux (WSL)

A simple guide on how to navigate to local files on Windows when working with the Windows Subsystem for Linux (WSL). There’s a few ways of doing this:

# Navigate with cd /mnt/c/
# Open WSL from PowerShell Session


Navigate with CD /mnt/c/

Local drives can be found in /mnt/ folder, so just cd into that and tab-complete to list sub-folders.

cd ~
cd /mnt/c/temp

Open WSL from PowerShell Session

When we open WSL in PowerShell, the Linux session scope will be within the mounted Windows directory:


Share

0 Comments