
And of course, the man delivered! Installing the Azure CLI on WSFL After failing to install, I reached out to Rich Turner, one of the masterminds behind WSFL for some advice. Partly because of my limited knowledge of Linux and partly because of the special setup of WSFL.
#Bash in windows grep install#
Today I decided that this would happen no more! So I set out to find out whether I could install the Azure CLI tools on my Windows Subsystem for Linux! My initial attempts yield some results but in the end I was totally unsuccessful. I could, of course, use the Azure CLI on Windows but without tools such as grep etc, it's like typing with one hand behind my back! I want the true power that comes with a Linux command line, such as Bash. It also meant that I have to carry both laptops with me (which I do anyway) when I want to blog about stuff etc. This was fine but meant that I had to take screenshots etc across 2 different devices.
#Bash in windows grep mac#
Up until today, I would do my PowerShell scripting on Windows and then switch to my Mac to test the CLI equivalent commands. you, my readers, get to choose the tool that best fits your needs.I get to spend more time using a number of tools and being versatile.However, since I blog quite a bit lately about Azure and I usual include a number of scripts, I make a conscious effort now to be truly cross-platform by providing commands on both PowerShell (which is cross-platform anyway) and the Azure CLI (cross-platform as well). My days lately consist of jumping between tools such as:Įvery single tool come with it's own pros and cons and sometimes I mix it up to keep me on my toes. Any command I know or I need to use and is available, I'll use. Do I use Bash? Whenever and wherever I can. Using native Bash is a dream come true for many people and even me, whose use of it is limited to 0.05% of its true capabilities!!! Do I care? No.

This has opened up so many possibilities and brings a very powerful tool to Windows. That's right, you can use the native Linux (user and kernel modes) inside Windows without the need of a VM, Container or any other emulator. I've ( GHOST_URL/working-with-bash-on-ubuntu-on-windows-10/" target="_blank) about the tremendous work that the Windows team has done to bring a truly integrated Linux subsystem on Windows 10. Posted in Azure, script, Linux, cross-platform

Install and run the Azure CLI on the Windows Subsystem for Linux (WSFL) 09 January 2017
