Windows Subsystem for Linux

I have a feeling there's going to be a lot to say about what the WSL (also known as UoW, Ubuntu on Windows) can and cannot do. So on the day of its release to the Insider fast ring (April 6, 2016), we're starting this page.

  • 18 minute video explaining the basics. Why, how, what.

    • Canonical's Dustin Kirkland writes about WSL.

    • Dustin Kirkland's hour-long Q&A video about WSL. (Note, it's not all about WSL; other Ubuntu issues are discussed as well.)

    • 29 minute video. Hanselman discusses WSL with some of the folks who made it.

    • WSL blog currently contains one article detailing some history and architecture. More articles are promised.

FAQ (experiments performed, some of which originated as questions from the channel)

    • When I start a process in WSL - what do I see in Windows?

      • Task manager doesn't show the process, but powershell get-process does: (image)

    • Can WSL do this?

      • Start a Windows process from within WSL? No

      • Run powershell commands from within WSL? No

      • Browse the Windows filesystem, create, write, read and delete files from within WSL? Yes

      • Shutdown Windows from within WSL? No

    • Add a user to Windows? No

    • apt-get install nginx? Yes ... but I couldn't actually run it

    • Accessing WSL from Windows:

    • Need to uninstall and reinstall WSL? (Maybe because you broke it with rm -rf experiments?)

      • Do an lxrun /uninstall followed by lxrun /install in cmd or powershell.

      • I discovered this in the 14328 build. image

Additional Links to information on WSL

Scott Hanselman

Developers can run Bash Shell and user-mode Ubuntu Linux binaries on Windows 10

Linux Command Line on Windows

Installing Fish Shell on Ubuntu on Windows 10

Dustin Kirkland

Ubuntu on Windows -- The Ubuntu Userspace for Windows Developers

"So maybe something like a Linux emulator?" Now you're getting warmer! A team of sharp developers at Microsoft has been hard at work adapting some Microsoft research technology to basically perform real time translation of Linux syscalls into Windows OS syscalls. Linux geeks can think of it sort of the inverse of "wine" -- Ubuntu binaries running natively in Windows. Microsoft calls it their "Windows Subsystem for Linux".

HOWTO: Ubuntu on Windows

Windows blog