Running Bash on Ubuntu on Windows: Demo

Mattias Geniar, Thursday, March 31, 2016

Microsoft surprised everyone last night when they announced that Ubuntu is running natively in Windows 10. That means we get all the Ubuntu/Linux perks in the Windows world.

Microsoft has also released a demo of Ubuntu/Bash running on Windows.

What follows are screen captures of Bash running inside Windows. If we combine this with Microsoft porting OpensSSH to the platform too, we suddenly have an environment we can manage with a unix mindset. That means:

  1. Git pre/post commit hooks written in bash
  2. A native package manager (apt)
  3. All our Linux scripts and tools working within Windows

Screenshots of Bash on Windows

As provided by the demo, here are some screencaptures of Bash and Ubuntu running in Linux.

Very impressive stuff. It covers Linux binaries (ELF), mountpoints, apt installing, running a Webrick-like webserver, ...

1_windows_ubuntu_lsb_release

2_windows_ubuntu_elf

3_windows_ubuntu_mountpoints.png

4_windows_ubuntu_gcc

5_windows_ubuntu_apt

6_windows_ubuntu_rackup

I'm curious about the quirks and caveats Ubuntu/Bash on Windows will bring, but I'm excited about the possibilities here!

If you want to know more, check out the video.

But now I can't decide if I should categorise this post as "Windows" or "Linux". Confusing times ahead!



Hi! My name is Mattias Geniar. I'm a Support Manager at Nucleus Hosting in Belgium, a general web geek & public speaker. Currently working on DNS Spy & Oh Dear!. Follow me on Twitter as @mattiasgeniar.

Share this post

Did you like this post? Will you help me share it on social media? Thanks!

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Inbound links