Baby steps with Bash on Windows

Creating software never gets boring as the platforms, tools and techniques are always evolving. Until recently being a developer in the Microsoft world meant working with languages like C# and VB.NET, tools like Visual Studio, Windows Command Prompt and PowerShell. Starting with the Windows 10 Anniversary update we now have access to a Linux command line called Bash and a lot of the awesome tools that the Linux community have built over the years (curl, ssh etc.)

The Microsoft Store app
in Windows 10 now makes it very easy to install Bash and the first thing you need to decide is which Linux distribution (AKA distro) you want to install… I went with Ubuntu.

Here are some more details on getting bash up and running on your Windows 10 machine:

https://msdn.microsoft.com/en-us/commandline/wsl/install-win10

Now that you have bash, here are links that I used to answer my questions about Bash…

What are some basic bash commands and tools?

www.tldp.org/LDP/abs/html/basic.html

How do I install software using bash?

https://help.ubuntu.com/community/AptGet/Howto

How do I work with files across Windows and Bash?

https://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/

How do I create scripts to string command together?

https://help.ubuntu.com/community/Beginners/BashScripting

What are some fun things to use in demos?

nyancat: sudo apt-get install nyancat

cowsay: sudo apt-get install cowsay

htop: sudo apt-get install htop

midnight commander: sudo apt-get install mc

Let me know if you find anything else that would be cool to use for demoing

Published by

Ralf

I work with the Microsoft cloud and live in London.

Please let me know your thoughts on this post...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s