Advertisement

Bash on Ubuntu can run Windows binaries

One of the most interesting changes in the recently released Windows 10 build 14951 is the ability to launch Win32 apps directly from the Bash on Ubuntu console. It is able to handle both Win32 and console tools.

Advertisеment


In Windows 10 build 14951, Bash on Ubuntu is based on the recent Ubuntu 16.04 LTS version. All new Bash instances will use it out of the box. Tip: if you upgraded your Windows 10 Insider Preview from a previous build with Bash on Ubuntu enabled, you need to type the command do-release-upgrade to update your existing Bash instance.

Starting with Windows 10 build 14951, you can launch any Win32 application like Notepad, Paint or cmd.exe directly from the Bash prompt.
Earlier, the user could only execute a Linux command from the Windows Command prompt environment and process the data it returned. Now it is possible to combine apps in the built-in Linux environment.

For example, you can launch Notepad to edit a file.
bash-notepad

Or you can use the Linux tool "grep" to filter the output of the dir command:
bash-grep
To try it in action, you need to enable Bash On Ubuntu feature as described here: How to enable Ubuntu Bash in Windows 10
bash

Watch the following video to see this new feature in action:

Tip: you can subscribe to our YouTube channel HERE.

Bash on Ubuntu features the following additional changes and fixes:

  • Locale set during install is now displayed.
  • Terminal improvements including bug where redirecting a WSL process to a file does not always work.
  • Console lifetime should be tied to bash.exe lifetime.
  • Console window size should use visible size, not buffer size.
  • Additional bugfixes and improvements.

You can learn more about them in the official announcement HERE.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.