Skip to main content

Blurring the lines: Microsoft announces bash shell for Windows 10

Microsoft has become more focused on offering choices and including open source software options. That’s why it wasn’t much of a surprise when Microsoft announced during the Build keynote that Canonical, the company behind Ubuntu, has helped bring the Bash shell to Windows 10.

The Bash shell replaced the Bourne shell in Unix-based operating systems in 1989, and has become the standard since on both Mac OS X and almost all Linux systems. It’s easy to learn, versatile, and its reach has spread everywhere but Windows, until now.

Microsoft’s Bash shell integration isn’t just a gimmick, or a nice makeover. The command line has native access to the file system, and support for some of the most used Bash utilities.

That includes the popular code and text editor Emacs, which Kevin Gallo showed off during the on-stage introdution of the feature. That’s sure to be a hit with Linux users, many of whom have come to rely on both the Bash shell and Unix-based commands and software.

Bash-is-coming-to-Windows_002
Image used with permission by copyright holder

The Bash shell for Windows 10, which actually operates on a new Unix-based subsystem, also supports .sh shell scripts. That means users will be able to bring their existing scripts over to a Windows 10 system, or write new scripts in a familiar language.

Before you start worrying that Windows is going to change fundamentally to become a more Linux-like OS, it’s important to understand exactly what Bash will look like on Windows. Like launching the PowerShell, or Command Prompt, the Bash shell exists as a standalone application.

Details beyond that are still scant, but Gallo indicated the Bash shell would be enabled in the Anniversary update. Like most updates, Windows Insiders will have access to it earlier, although Microsoft hasn’t shared an exact date for that rollout.

Gallo also left the door open for more command line shells to find their way into Windows eventually. Microsoft desperately wants developers to come back to Windows, and develop for the universal Windows platform. Letting them speak their own language instead of learning a new one is just one step further towards achieving that goal.

Brad Bourque
Former Digital Trends Contributor
Brad Bourque is a native Portlander, devout nerd, and craft beer enthusiast. He studied creative writing at Willamette…
Microsoft Build 2023: the biggest announcements in AI, Windows, and more
microsoft build 2021 everything announced nadella 1

Microsoft's annual developer's conference has arrived, and a slew of big announcements have already been unveiled. AI is, obviously, the big theme of the event and continues to be top-of-radar for Microsoft and the entire tech community.

But there are also some big announcements for Windows, the Edge browser, Teams, and more.
AI comes to Windows

Read more
Update Windows now — Microsoft just fixed several dangerous exploits
Person sitting and using an HP computer with Windows 11.

Microsoft has just released a new patch, and this time around, the update comes with fixes for several dangerous and actively abused vulnerabilities and exploits in Windows.

A total of 68 vulnerabilities were addressed in the patch, many of them critical. Here's what was fixed and how to make sure your Windows device is up to date.

Read more
Top 10 Windows shortcuts everyone should know
An individual using a laptop's keyboard.

Windows shortcuts are a constantly-used feature by practically all PC users. Apart from saving you time from carrying out the specific command without having to perform a few extra clicks on your mouse, it’s simply more convenient to refer back to shortcuts via your keyboard.

Although you may be satisfied with the Windows shortcuts you already know about and utilize on a daily basis, you can enhance your general Windows experience in a big way with these 10 shortcuts everyone should know.
Ctrl + Z
Tired of always having to use your mouse to find and click the Undo button on a program like Microsoft Word or, say, entering details on a website or editing images? Ctrl + Z will basically undo whatever your last action was, providing you a convenient way to reverse edits and changes within a second. From personal experience, this shortcut proved to be especially useful for productivity applications.
Ctrl + Shift + T
We’ve all been there. Nowadays, our browsers are inundated with multiple tabs, and as such, it’s hard to keep track of at times. Eventually, you’re going to close a tab on accident when trying to select it. Instead of trying to remember what it was or spending a few seconds accessing it and reopening it via the Recently Closed feature (on Chrome), simply hit Ctrl + Shift + T to restore the last closed tab. Similarly, Ctrl + N will open a new tab.
Alt + Tab

Read more