BASH Running in Ubuntu on Windows
Overview
Windows provides developers with a familiar Bash environment. This environment will allow users to:
- Run common command line utilities such as
grep
,sed
, andawk
- Navigate the file system using these commands
- Run bash shell scripts which rely on supported command line utilities
Windows is running Ubuntu user-mode binaries provided by Canonical. This means the command line utilities are the same as those that run within a native Ubuntu environment.
This is provided as beta software. While many of the coreutil commands provided by Ubuntu will work, there are some that will not. We welcome feedback and will prioritize accordingly.
This video from Build 2016 gives you more information and a demo of Ubuntu on Windows:
Feedback and questions should be directed to:
Architecture
This scenario is comprised of two main components:
Ubuntu on Windows
Genuine Ubuntu user-mode binaries provided by Canonical.Window Subsystem for Linux (WSL)
This infrastructure supports unmodified Ubuntu binaries by exposing Linux-compatible kernel interfaces. It includes Microsoft components that are responsible for handling Linux system call requests in coordination with the Windows NT kernel.
This subsystem was developed by Microsoft and contains no Linux code.
Announcements
Blogs
- Mike Harsh's Blog -- Run Bash on Ubuntu on Windows
- Scott Hanselman's Blog -- Developers Can Run Bash And Usermode Ubuntu Linux Binaries On Windows 10
- Ubuntu News -- Ubuntu on Windows – The Ubuntu Userspace for Windows Developers
Presentations
- Build 2016 Day 1 Keynote
- Build 2016 Interview with Ben Hillis, Dustin Kirkland, Russ Alexander, and Scott Hanselman -- Linux Command Line on Windows
- Build 2016 Video walkthrough -- Running Bash on Ubuntu on Windows!
Feedback
GitHub issue trackercommand-line UserVoice portalcommand-line team blog