At Build 2016, Microsoft introduced to the world the Windows Subsystem for Linux (Beta) [WSL], which enables developers to run native Ubuntu user-mode console binaries through the Bash shell in Windows 10. If youíre in the Windows Insider program, youíve had the opportunity to try out this feature using the latest Windows Anniversary Update Insider Builds.
Web developers are used to making difficult choices on which tools and libraries they can use based on the operating system theyíre actively working on. The WSL was designed and built by the Windows Kernel Team and delivered in partnership with Canonical, to help Windows 10 developers use the rich Linux developer ecosystem and tools alongside the great tools they are already using in Windows, without having to boot into another operating system or VM. This is definitely a ďby developers, for developersĒ Windows 10 feature, specifically designed to remove a bit of friction from developersí daily workflow.
In this post, Iím going to show you a few of the features of WSL that I personally find very interesting, as well as point you to some resources to help you learn more. First, Iíll show the integration of staple commands like ssh for working with Linux servers and devices. Second, Iíll demonstrate the ability to use Bash scripting to automate tasks in a very natural way. Third, Iíll have a little fun with the great command-line compilers, other tools and the *nix compatibility offered, and play a little NetHack. Finally, Iíll show you the ability to use existing Python and other scripts available on the web.
Windows is my primary operating system and development environment, and has been since Windows 3.0 on my first 286. Nevertheless, Iíve always had Linux servers or devices kicking around my place. From IoT devices such as the Raspberry Pi and dedicated router/gateway devices to Minecraft servers, they tend to collect on the shelves and corners in my office. One thing I always need to do is manage and configure these Linux computers easily from my main workstation...