New Windows 10 Preview For PCs With Bash, Cross-Device Cortana Released
An anonymous reader writes: Microsoft has released a new Windows 10 preview for PCs. The preview, dubbed build 14316, comes with a range of features including support for Bash, which Microsoft had announced at its developer conference Build last week. Users interested in it can enable the feature by turning on Developer Mode (detailed instructions here), searching for "Windows Features," choosing "Turn Windows features on or off," and enable Windows Subsystem for Linux (Beta). To get Bash installed, open Command Prompt and type in "bash" (without the quotes.) Other features included in the new build include low battery notification, find my phone (ring my phone), and the ability to share map directions across devices. Additionally, the company has also released a new universal Skype app.
Only took 15 years to get tcp/ip into windows.
Makes sense it took another 15 to get it a reasonable shell.
Shouldn't that be Linux Subsystem for Windows?
No it doesn't, at least on my device.
I've developed plenty of sophisticated scripts in Bash. Just because you haven't learned Bash doesn't mean it isn't useful, it just means you lack experience and knowledge.
For some of us, having a common scripting language on Windows and *nix, one which has decades worth of scripts behind, is more valuable than OOP concepts. For chrissakes, even on a fairly well-speced system, the amount of time Powershell takes to start is astonishing, whereas I have Linux installs on crappy Cyrix processors with 256mb of RAM where Bash pops up right away.
The world's burning. Moped Jesus spotted on I50. Details at 11.
Just use Python. It'll let you accomplish the same tasks, likely in a fraction of the time, and with a much better result. Plus your script will likely be more portable, too, even to Windows!
Sure, as long as you have the same version of Python installed, your script might be portable. I can't remember when was the last time I had to check $BASH_VERSION.
Bash is a relic from a pre-Python world. It's time to move away from bash.
How about using the right tool for each job?
Use Bash for simple tasks that involve running programs, piping their output, checking their exit code, etc.
Use Perl for text manipulation, regular expressions, complex data structures, complex logic, one-liners, etc.
Use Python for your code to be readable by an 8 year old.
I've said many times, Linux can't 'beat' MS, because MS can always do MS Linux.