r/programming • • Mar 30 '16

Microsoft is bringing the Bash shell to Windows 10

http://techcrunch.com/2016/03/30/be-very-afraid-hell-has-frozen-over-bash-is-coming-to-windows-10/
5.5k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

11

u/[deleted] Mar 30 '16

having an API for more or less the entire operating system is very powerful

That’s what dbus allows us over on linux, too.

1

u/benpye Mar 30 '16

I guess that is true, Powershell also offers configuration for a lot of things. For example, I have a script setup to create an Ubuntu Hyper-V VM based off the latest cloud image, make myself an account, install some basic tools, setup git, samba and ssh so I can mount a network directory and ssh in, so I can use it easily from both Linux and Windows. I wouldn't really want to try and automate some VM software in Linux. This is something that you get from Hyper-V specifically I guess since there are some great cmdlets.

10

u/[deleted] Mar 30 '16

I wouldn't really want to try and automate some VM software in Linux.

Ehem, that’s exactly how you use Xen or QEMU with KVM.

0

u/benpye Mar 30 '16

I'm sure but from my memory of trying to use libvirt (I think?) it wasn't all that pleasant, and the other option I know of is to invoke qemu with the right command line args every time I want to start a VM.