Getting Started with Bash on Windows 10 and How to Apply It to DevOps

Friday, November 03, 2017 - 2:00 pm3:30 pm

Jessica Deen, Microsoft


Windows 10 now provides developers and IT Pros/ops with a familiar Bash environment. This environment will allow users to: 1. Run native Linux binaries including grep, sed, and awk 2. Navigate a new Linux based file system using these commands 3. Run bash shell scripts which rely on supported command line utilities Windows accomplishes this through the Windows Subsystem for Linux which allows Ubuntu user-mode binaries provided by Canonical to run on Windows 10. This means that the command line utilities are the same as those that run within a native Ubuntu environment. In this session we will showcase scripting, code editing / compilation, and execution of X11 apps compiled for Linux using a local X11 server from within the Bash on Ubuntu on Windows environment. We will then discuss the implications of these features as they relate to existing developer workflows. This will include a demonstration showcasing compilation of various programs using python, c++, and ruby. We will also include a demonstration showing how to edit and push open scripts to a Github repo from within Visual Studio Code using Bash on Ubuntu on Windows as an integrated terminal. Finally, we will show how you can use this new tool and apply it to standard DevOps practices.

@conference {207175,
author = {Jessica Deen},
title = {Getting Started with Bash on Windows 10 and How to Apply It to DevOps},
year = {2017},
address = {San Francisco, CA},
publisher = {{USENIX} Association},
Take back to work: 

By the end of this session you will have a firm understanding on what Bash on Windows is and how it is so much more than just the bash shell. You will learn how you can use classic Linux tools such as sed, awk, curl, etc., and use Bash on Windows in your workflow to increase your productivity!

In this session we will cover some new features in Windows 10 and, more specifically, the addition of BASH on Ubuntu to the Windows offering. We will cover what it is, how it works on Windows, how to configure it, and ultimately, how to to apply it to standard DevOps practices.

Topics include: 
Bash, Windows, Linux tools on Windows