Have you ever been stuck on a Windows machine but really wanted to use a utility like grep or dig. For the longest time, Cygwin was my go to solution. As much as I like Cygwin, it is not without its faults. Enter the Windows Subsystem for Linux. I was a little skeptical at first, but have been pleasantly surprised with the results. There are quite a few different Linux flavors available including Ubuntu, OpenSUSE, SLES, Kali, and Debian. Below are the steps I took to get WSL up and running with Debian.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Invoke-WebRequest -Uri https://aka.ms/wsl-debian-gnulinux -OutFile debian.appx -UseBasicParsing
The Windows filesystem is accessible from the Linux shell under /mnt. Example: /mnt/c:
Who knew that you could use curl in Windows 10? Curl was added in the Windows 10 Spring 2018 Update.