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.
this is a great move, congrats to MS for putting in native bash functionality. bye bye putty, cygwin, etc
Have they made it possible to completely disable Cortana yet? As in no service hiding in the background that gets reinstalled if you shut it down?
Let me get this straight: to enable Developer Mode, you need to go into settings (okay), update (wait, what?), security (why?), for developers (could be named a bit better IMHO).
No wonder I always feel lost when I use Microsoft products. They can't even make a proper navigation tree.
Shouldn't that be Linux Subsystem for Windows?
It seems like you are ssh to a server should I save the password for you?
I wouldn't develop a script in Bash on Windows, sounds like a terrible idea. For quite a few tasks, PowerShell is far superior (OOP, etc). Just like I wouldn't develop a complex script in Bash on Linux, I'd use Python instead. Yes, PowerShell has its problems, but far fewer issues than Bash.
I find that Bash is really only useful for simple invocation of other binaries, coupled with very basic logic. Anything more complex turns a Bash script into a nightmare.
"It's easier when you send passwords as clear text. Should I enable this feature? (Yes/No)"
Anyone who wants bash can simply get it already from Mingw or Cygwin. And bash isn't much use by itself since normally people who need bash want stuff like ls, find, grep, vi, git, gcc etc. to go with it.
There are a number of things Cygwin does that don't quite work on Windows 10 + Bash, such as setting up GCC and C libraries and environment variables for building OSS projects out of the box. But this is a good start.
Until they let me ACTUALLY AND PERMENANTLY disable all the useless spyare shit they added to 10. I'm still not running it.
You mean that Spyware Malware ridden operating system that Microsoft keeps force feeding everyone?
No thanks, I think I'll stick with linux and bash.
PowerShell is reasonable like walking across town to take the bus to get the map to get to my neighbor's house right across the street is reasonable.
random syntax required...
Linux binary compatibility? So wait, this means I should be able to take a random simple binary without a lot of dependencies, scp it (yay) to my Windows box and run it?
Honest question here: What's the purported advantage of using this versus Cygwin?
Can Windows File Explorer now handle files it itself creates ?
How can any of their developers be proud of what they have made with all the decades-old bugs they just ignore ?
It's pretty much a port of the console based user space from Ubuntu, which will make a lot of developers happy (more options good). But, given how it works, you can't use bash to script windows commands (like you could in Cygwin/MSYS2). Nor can you expect to run some unix commands from the console either. On the other hand, the whole apt toolkit is at your hands, so you can install a ton of software and not wait for a Cygwin port.
I'm sure I'll get labeled as a shill (I'm not, it'd be nice, I could use the extra cash), but this is a major boost to Windows 10 as a developer OS. I get all the Windows tools I like and all the Linux bits I'm likely to want. And, yes, they are developing the .Net ecosystem into a really nice cross-platform environment for a lot of platforms.
Don't get me wrong, this is a squeeze on desktop Linux. There's likely no way they'll have the subsystem able to host X (or Wayland or Mir), it's not worth the effort. And there's no plans to port any of the Universal Windows Platform GUI stuff to Linux (again, no pay off).
How about SOMEBODY roll-out an OS and a web browser and an e-mail client etc that never access the net without a user requesting it, and then ONLY touching the sites the user selected. This whole "personal computer" revolution arose on the promise that you could own your own hardware, own your own software, and be the person in control of what the software did with the hardware, while you had complete control of your data. In the Pre-PC era, you leased your stuff; you did not own or control the hardware or the software and the people you leased it from effectively had custody of your data.
This secretly phoning home and sending info or guessing what the user might want and pre-loading it garbage is a foul, privacy-robbing, obnoxious, bandwidth-stealing, data transfer limit robbing, deceitful security risk.
A firewall is not the ideal solution - the vendors need to stop all this evil stuff.
It's not just Win10, though Win10 is the worst. Mozilla is doing a bunch of garbage in Firefox. Just install a copy on an isolated machine and tell Firefox not to use all the pre-configured search engines, not to auto-update, etc and then run Wireshark on it and plug it into an isolated LAN. Firefox will immediately start hammering away on dozens of sites including the search engines you have specifically told it not to use, the Mozilla update site you told it not to use, etc. It pretends to respect your choices for privacy and security, and then blatantly violates them.
I don't get what's up with the developers at Mozilla. They used to actually block popups when you check the popup blocking option, but they seem to no longer honor that option either.
Windows PowerShell Integrated Scripting Environment (ISE):
---> C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe
Or you can launch PowerShell via the console:
---> C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Seriously -- due to some bug, my "start" button disappeared from Windows 10 after a few months use. Looking online, I see this is a common problem, and none of the suggested fixes worked. The only alternative was to "nuke" my Windows installation or install Classic Shell. Now using Classic Shell...
Microsoft is no longer bashing bash. All well and good, except that the next thing they're going to do is implement bash poorly to such an extent that the value of having it in windows is totally lost (unless you're blissfully unaware of all this because you've been happily using cygwin this whole time). Nothing terribly new about any of this, since Apple embraced BSD Unix a decade ago and quickly turned it into something unrecognizable, bloated, insecure, and bug-ridden. So it goes.
But can you cross-compile a Windows version of an OSS package on this Linux environment on Windows?
I've said many times, Linux can't 'beat' MS, because MS can always do MS Linux.
There is more to Unix than the shell. A lot more. Did these people even know that shells other than bash exist?
Seriously, the shell is a pretty minor part of the unix command line environment.
If anything they should be touting that they've implemented the Linux ABI on top of windows, not "comes with BASH!"
Python is shit, I'll only ever code in assembly!
Cygwin has a lot more than just bash.
Also, can you ssh into Windows without installing a third party ssh package?
Come on, Microsoft, rid the world of your awful proprietary MOOXML and make Open Document Format the default instead.
I've heard the argument and I somewhat agree with it yet I've yet to see anyone replace bash with Python as their 'default' terminal. It's just 'simpler' to learn the shitty language to do what it is built to do than look up and implement the correct order into a function call every time I want to do something.
Because this:
from os import listdir
from os.path import isfile, join
onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))]
May be not as shitty but still not as simple as this:
ls -l
Custom electronics and digital signage for your business: www.evcircuits.com
If you're counting from 1995, when Cygwin was first released, it took Microsoft only 4 years to get native Unix shells on Windows (and that's counting from when Microsoft made them available itself, not from when a third party offered them on top of the NT kernel's POSIX subsystem). https://en.wikipedia.org/wiki/...
For many years, Windows (NT family only) had a POSIX-compatible subsystem built into it. Like the Win32 subsystem, this "Subsystem for Unix Applications" (SUA) took POSIX system calls and translated them into NT native syscalls (the NT kernel does not recognize either Win32 or POSIX syscalls, but rather implements its own calls that are a superset of both in functionality; Win32's CreateProcess cannot properly implement POSIX's fork, but NtCreateProcess supports both). SUA also provided a Unix-like filesystem (with case sensitivity, Unix file permissions including stuff like setuid/setgid, working /proc and /dev, and so on).
Microsoft provided a bare-bones set of tools and libraries for SUA, called Interix. As of Windows 7 (Interix 6.7), this included two Unix shells, C shell and Korn shell, which both suck compared to Bash but were sufficient to bootstrap the system. Interix also included a working GCC build toolchain. From this minimal start, you could install additional packages (NetBSD, Debian, and I believe Gentoo all supported building and managing their packages for Interix, plus there was an Interix-specific package repository that Microsoft funded). There were thousands of such packages available, from Bash to OpenSSH (client and server) to Apache httpd to Git to... you get the idea. X11 client libraries, plus a Win32 X11 server (typically Xming), meant you could even run graphical software.
Microsoft deprecated SUA and stopped all development on Interix with Win8.0; in Win8.1 and Win10 (until now?) the subsystem itself is unavailable. I'm really curious to see if they built this new "Subsystem for Linux" on top of the old POSIX subsystem, or did something else (and if the latter... what?)
There's no place I could be, since I've found Serenity...
Instead of just calling it a "Preview", will someone at Microsoft please clarify whether Windows 10 is an Alpha or Beta test product?
I was just about to fire up my "let's see if Windows 10 has finally become usable" virtual machine to try this out, when I realized...
They removed Windows Update. They really don't want us to be in control of updating. Oh sure, there's still the touch version from Windows 8, but 1, I don't have a touch screen, and 2, even if I did, it doesn't provide the settings that the normal Windows Update does.
Which means that unless Microsoft decides to update my Windows 10 image behind my back, I will probably never get a fixed version of Windows 10.
Actually, that would be ALGOL
.
So now it is okay to do Windows bashing?
No good deed goes unpunished.
I screwed my apt-get doing a simple "apt-get install default-jre"
damn... this was quick
--News article reporting a new Web-based viral exploit for the Win10 "bash" shell in 5..4..3..
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??