Tag Archives: wsl

WSL: Files and Environment Variables

Continuing from WSL: Directories and Files.

The Ultimate Guide to Windows Subsystem for Linux (Windows WSL) points out that with WSL2 the Linux file system is a virtual disk. In my case


I hope there is a way to relocate this file into a directory format that is fit for human consumption.

The Ultimate Guide goes on to consider environment variables. Opening an administrator command prompt as in the example:
“Failure is always an option.”-Adam Savage

Networking with the Windows Subsystem for Linux

Networking was built in on the Ubuntu WSL install. WSL Ubuntu under Windows has an IP of 172.17.xxx.xxx, but it can see my local 192.168 network, and the entire internet. WSL Ubuntu says it uses a DNS Server on the 172.17 network. Since WSL uses NAT, I expect that translates to my router on the 192.168 network, which in turn accesses the DNS servers of my ISP. IP addresses in the range to are private, so apparently WSL creates its own network.

Continue reading