Live data from Hacker News

Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

news.ycombinator.com

31–40 of 53 posts

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#31
Bash for Windows is open source, right?

Is there anyway for me to get just bash binary to run? or build it from source and run it instead sign up for the insider program.

I tried to signed up as insider a few times on couple win 10 systems, failed and completely gave up on that.

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#32
post #22

I've been watching the whole Bash on Windows thing since it launched and it blows my mind in almost every possible way, the project has all the potential to make Windows a viable programming environment, specially for PHP and Ruby folks, which need to run Apache and all that stuff. It won't replace a full Linux install, but it might be enough for most use cases (it doesn't run X yet, for example). So virtual machines…

Yup, it's great for non GUI development and scripts. I use it daily and haven't had anything not work yet other than GUIs, but that's expected.

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#33
What exactly are people using the linux shell for? It's fun, but given that you can't easily access windows files and you can't use it to run things like the visual C++ compiler you can't easily use it to script windows programs.

What do people actually use it for?

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#34
post #31

Bash for Windows is open source, right? Is there anyway for me to get just bash binary to run? or build it from source and run it instead sign up for the insider program. I tried to signed up as insider a few times on couple win 10 systems, failed and completely gave up on that.

You don't need to be an insider to run it. It is available in the current version of Windows 10 (Build 1607 - AKA Anniversary Update). Then go to `Settings -> Update and Security -> For Developers -> Developer Mode`. Next, search for `Optional Features` Start Menu (Just start typing that in the Start Menu, it will show up) and check the box next to `Bash for Windows`.

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#35
post #33

What exactly are people using the linux shell for? It's fun, but given that you can't easily access windows files and you can't use it to run things like the visual C++ compiler you can't easily use it to script windows programs. What do people actually use it for?

You absolutely can access files from the Windows filesystems easily. The C: drive is mounted at /mnt/c by default. The ability to launch native Windows programs from within WSL is being delivered as part of the next update and is available on Insider builds now.

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#36
post #29
post #27

I've been using Bash for Windows at work for a couple of months, and it's mostly been good enough that I don't need to fire up my ubuntu vm anymore. The biggest problem I've run into lately is that I really want to be able to run GUI-based programs, and even though that does worth with VcXWin, it's kind of crappy, especially for font rendering. Anyone know of a free (or cheap) x window server for windows that does an…

I wonder if MS finds a way to port open source Linux apps in Windows 10.

They should start with systemd //sarcasm

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#38
post #33

What exactly are people using the linux shell for? It's fun, but given that you can't easily access windows files and you can't use it to run things like the visual C++ compiler you can't easily use it to script windows programs. What do people actually use it for?

I've been cross compiling OpenWRT for Mips in my WSL, which is very handy!

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#39
post #29
post #27

I've been using Bash for Windows at work for a couple of months, and it's mostly been good enough that I don't need to fire up my ubuntu vm anymore. The biggest problem I've run into lately is that I really want to be able to run GUI-based programs, and even though that does worth with VcXWin, it's kind of crappy, especially for font rendering. Anyone know of a free (or cheap) x window server for windows that does an…

I wonder if MS finds a way to port open source Linux apps in Windows 10.

Isn't WSL the shotgun approach to answer your question? There's no need to port thousands of useful tools; create the WSL and poof! most of it runs out of the box, natively, in Windows.

Re: Ask HN: Is Bash for Windows good enough to replace a Linux/Mac terminal?

#40
post #22

I've been watching the whole Bash on Windows thing since it launched and it blows my mind in almost every possible way, the project has all the potential to make Windows a viable programming environment, specially for PHP and Ruby folks, which need to run Apache and all that stuff. It won't replace a full Linux install, but it might be enough for most use cases (it doesn't run X yet, for example). So virtual machines…

It is possible to run X programs with Bash on Windows. You need to run a Windows port of an X server, like Xming[1]. Even programs like Firefox work, though it's a bit laggy. It's good enough to run gvim, though.

[1]: https://sourceforge.net/projects/xming/

Post reply on HN