What are the benefits for Bash for Windows?
Based on my usage, you can do everything.
Keep in mind that it is limited to Windows, as it runs on Windows. So for example, if you open the command prompt, hit bash, and do a sudo command that affects the system it will fail, despite you sudo it, as the command prompt wasn't open with elevated credentials in the first place. So in this case, if you really want to do root stuff under bash, you need to open the command prompt as admin, and now sudo your commands. Also, you cannot do things that Windows can't, but you can do things that are simple in Linux, and a pain in the ass to do in Windows. So that is the big appeal.
The purpose of it, is the same as MacOS with Unix. You can run Linux programs under Windows. It is command line only. You don't have a GUI, but that is not impossible to implement, but performance and support isn't there. So your mileage will vary. Some programs will work better than others. And yes, you can access your Windows files with them. Support is weak, as it is new, but you have good level of interest by the community. Ubuntu is the most active, from what I know.
The target of it are back-end web and Android app developers, but even if you do Linux dev and it happen to fit Ubuntu or OpenSuse (Fedora was supposed to be available, but it is still in the works by the community), you can use it. It allows devs to mix the power of Windows with Linux, bringing the strength of both worlds. Linux based OS biggest weakness is being a desktop OS, so now you solve that. So, if you want to run a web server under Linux to test your phone app, for example, you can. You can install Apache and the rest under Linux subsystem, and run your app under an Android emulator (say). Or, another example, you have a Windows program that has a web back-end that will be installed under Linux, you can just run it directly in Windows, and have it communicate between each other. No need to setup a VM, cutting away your system resources, or remote to a server, or break your head in trying to setup a server under Windows.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now