Windows 10 Spring Update Improves Linux On WSL With Unix Sockets and More (anandtech.com)
Billly Gates writes: Windows 10 build 1803 has come out this month, but with some problems. AnandTech has a deep-dive with the review examing many new features including the much better support for Linux. WSL (Windows Subsystem for Linux) now has native Curt and Tar from the command prompt as well as a utility to convert Unix to Windows pathnames called WSLpath.exe which is documented here. In addition it was mentioned on Slashdot in the past about OpenSSH being ported natively to Win32 in certain early builds. It now seems the reason was for Linux interoperability with this Spring Update 2. Unix sockets mean you can run Kali Linux on Windows 10 for penetration testing or run an Apache server in the background with full Linux networking support. Deemons now run in the background even with the command prompt closed. [...]
now has native Curt and Tar
Good to see the editors still can’t read.
When are they actually going to throw away their kernel and move to an OSS paradigm like iOS and OSX did?
They can get Linux to run as a layer or app under Windows, but can't figure out how to get it to run from a different drive. Some of us have a smaller SSD as C drive and would like to at least play with this without having to jump through hoops. Yes, I know about symlinks in Windows, but it's kind of a crappy fix, if it works at all.
If the end game for this is for windows to eventually become a front end that runs on linux and acts as a compatibility layer for windows programs to run inside linux like ms is making a compatibility layer for win32 programs to run on arm then I would appraud ms's efforts but I fear the ONLY reason ms is doing this is to further advance azure's penetration and to get more linux admins on windows systems.
All this work to be compatible with Linux is only being done because Microsoft is desperately trying to get a ticket on the cloud moneytrain its ignored for nearly a decade. So far bootstrapping things like Kinect, office, and exchange to their cloud offering has boosted its presence in much the same way that paying hosting providers to switch their park-web sites to IIS static pages improved their netcraft numbers.
Curt and Tar from the command prompt
i presume we mean curl but this is moot. Anyone who needed curl or tar "from the command prompt" (as if it came anywhere else?) has their macbook, or their linux system...and they have it for free in the amazon cloud as well as the 40 some other openstack players that exist.
it was mentioned on Slashdot in the past about OpenSSH being ported natively to Win32 in certain early builds.
Embrace extend extinguish only works when theres a product with a bottom line people are willing to choose. "becoming linux" isnt doing anything to Redmond but wasting programmer hours trying to catch a lizard. Larry Ellison learned this fact with MySQL. GPL is an armored license that prohibits the type of early nineties chicanery Microsoft was absolutely legendary for pulling on small companies and startup projects.
Deemons now run in the background even with the command prompt closed.
Daemons,Welcome to 1991. You could also just pick a cloud provider with a competent ecosystem that will natively run any of five or more major linux distributions that your programmers are already familiar with.
Good people go to bed earlier.
Why would I want this?
And "Deemons now run in the background" Clippy + spellcheck could do better than these editors. At least clipping knew what a daemon is.
Oh that was a misspell? So I guess it means cut? and tar? (why the uppercase)
I was wondering. I totally thought it must be some hipster debian/redhat thing.
Kali Linux. Deemons. It's like a 5 yr old wrote this. lolz
Please, PLEASE tell me we can use select() on named pipes now in windows. This has been a lacking feature for sooo long now.
Ultimately, it's about as useless as tits on a bull.
" although to start an argument, case sensitivity is one of the most annoying features of Linux."
Idiot.
Surely they mean "curl"
Most *nix software has abandoned the composable input/output text-processing of the Old Philosophy, and so now we don't so much have Windows working to meet Unix, but rather Unix and Windows working to meet each other in the same place: Vendor lockdown under monolithic, binary, quasi-proprietary "solutions".
... and why would I want Curt there ? Or even Tar (with capital T) :)
Nope. On Windows you can type 'Curt' and it runs just fine.
Windows 10 introduces entire filesystem-insensitivity.
who sees Microsoft using all of their friendliness towards open source, and Linux in particular, to "soften" the stance of using Linux as a standalone solution in lieu of actually using Linux. In the last few years, Linux has been its own worst enemy. What with systemd, utter balkanization, no "usable" desktop to go mainstream with (save Red Hat using Gnome internally), getting into bed with Azure.
As a former Unix sysadmin who had to move cross country for family reasons, I have been forced into Windows jobs because I have to live in flyover country in a small town, which already has a dearth of remotely decent IT jobs. Windows is slowly killing the independence of Linux and in my mind, at least, no one seems to care. The "cloud" is the death of IT as we know it. Anymore, unless you're a programmer or hardware designer, you are working in and supporting the "cloud". I remember vast data centers teeming with talented people working on FreeBSD/OpenBSD Web servers with PostGreSQL backends. I remember running *nix-based firewalls and proxy servers, running CheckPoint atop Nokia IPSO boxes. I remember running and writing tons of sh and Perl scripts before the advent of stupidity like PHP and Word Press. We are seeing before our eyes, the dumbing down of *nix. I for one sorely miss pure Sun Solaris environments running atop Sun Sparc workstations. I'd happily take an FVWM WM over anything today. What the hell happened? Anymore, consumers buy machines that are only fit for consumption, not creation. We have given away the family silver.
And it broke the CPU frequency monitor on my 7820hk laptop. Nice job. Boot more into mint cinnamon anyway but when I want to play a game and OC is the one time I need to see the core frequencies and temps. I’ve tried a couple other O?c programs and it does show the max clock but not the programs I like but as usual with Microsoft, it’s not about what I want anyway as long as its for the good of the OS.
"Computers are a lot like Air Conditioners" "They both work great until you start opening Windows"
There are no such things as Curt and Tar. On the other hand, there are curl and tar.
What is this "curt" you speak of? I know what "curl" is and can understand that "Curl" on Windows would work but not "curt"
It depends on what files you have installed. If you only have 'curl' it will run that. But if you have 'cut', it runs that instead. If you have both, it uses a stochastic model to infer which one you probably intended. Otherwise, it selects a file at random and runs that for you.
I was working on my final transfer level History essay in Word when I got the prompt to update my computer. I saved the file, and allowed the computer to update.
Once the update was installed, my computer got stuck in a boot loop- a little bit of troubleshooting got me to a blue screen with the following error:
"A required device isn't connected or can't be accessed. Error code 0xc00000225"
A cursory search revealed that windows couldn't see my hard disk. My. Freaking. Hard. Disk.
Yeah, I freaked out. Thankfully, I'm reasonably tech savvy, and I had a copy of Knoppix on a DVD laying around. I booted in to that, and found my essay. THANK GOD.
17 pages. Two weeks of research on the history of Puerto Rico. Due literally THE NEXT DAY.
If I were a normal computer user, that essay would have been as good as GONE, as well as all of my other data, because I simply WOULD NOT KNOW how to get it back.
Absolutely unacceptable Microsoft. You should NEVER break user space in your updates. EVER.
I promptly removed that buggy, unstable operating system and replaced it with Linux Mint 18.
A big step towards running systemd on Windows!
Unix sockets mean you can run Kali Linux on Windows 10 for penetration testing or run an Apache server in the background with full Linux networking support.
You could just run Linux (and maybe Windows 10 in a VM).
It must have been something you assimilated. . . .
>> When are they actually going to throw away their kernel and move to an OSS :))
They don't need to, we did it for them
aaaaaaa
We use it to have an acceptable system when we have a Windows system forced down our throats on a work computer.
aaaaaaa
Eventually the Linux subsystem will be all that's left of Windows. Maybe a legacy support module on the side.
You'd have to call it the Linux supersystem by then, I think. Also "mission accomplished"!
Now you understand why the SystemD is on such a big phagocytosis spree :
Swallowing the whole Microsoft Windows into "system-msctl" was Lennart's secret end goal all along !
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
The differences are :
- On Windows, the use of .ini files has completely disappeared. Instead the registry hives being an opaque format that can be only access (in theory) with Windows' API of regedit. This would make it impossible to hand access them manually, say from a boot stick. (Well, in practice, there are 3rd party Linux tools able to access the hive format, so fixing from a boot stick is possible, but you got the idea).
- In gnome with gconfig the configuration is still stored in sets of plain XML files. Only they are now stored in an organized fashion in a specific set of subdirectories, and there's a centralized API and tool set to access them. But they are still human readable (you could still edit them with your favorite editor - emacs/vim/nano/ed) and easily machine readable (e.g. with your favorite Perl module such as XML::Twig).
The windows equivalent would have been if the .ini were kept, but now Microsoft defined a specific path to store them (e.g.: in a specifc subfolder tree within %USER_PROFILE% or whatever, instead of all over the place like in good old Win 3.x days) and mandated a specific API to manipulate them.
The closest thing to Windows' registry in Linux-land would be journald's internal database format, except that it has a very well documented format and journald forwards messages to any of your favorite system logger as soon as that deamon startsup - and it is configured to do so by default on virtually all the GNU/Linux distributions except for the most storage-starved ones in embed systems (e.g.: mercore/Sailfish OS doesn't have a syslog forwarding setup by default because it has to run on your smartphone limited internal flash. But Raspbian forwards to syslog by default).
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
but I fear the ONLY reason ms is doing this is to further advance azure's penetration and to get more linux admins on windows systems.
(and Linux devs to switch away from Mac OS X systems)
Well that, and also the initial idea was to offer enough of the Linux API exposed by the Windows kernel so Windows Mobile could eventually run Android applications so that their OS wouldn't have been the irrelevant joke without any significant app ecosystem.
Except that they didn't manage that even by far. They are light-years away from even running the simplest Android apps, so WSL is what they pivoted to in order to salvage the invested work.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
I don't recall specifically doing anything to get Curl in WSL - but it's been there over a year for me. If it's not Curl, then what exactly is "curt" ? not many other words come to mind which are similar in spelling to "curt" which the author intended to type... unless it was supposed to be... - oh, my!
Linux and all GPL software should move to GPL4, which should be identical to GPL2 with an added clause stating that Microsoft and Microsoft employees may not use any of it.
No need, and it would go against the GPL spirit.
The fundamental idea of GPL is that you should be able to do whatever you want with GPLed code, as long as you make sure that anyone you forward the code can still enjoy the same "whatever you want" freedom that your received. (that last part being the key difference with BSD-like persmissive license).
Restricting an imaginary GPLv4 against microsoft would go against the "to whatever you want" part. (And wouldn't be of any use, Microsoft would simply spin off a separate company to handle such GPLv4 code).
Also, by making mandatory to keep the same freedom to the next in line, GPL is pretty robust against EEE : you can't leverage extensions much if you have to publish them due to GPL, and you can't extinguish something that's freely available.
There's a reason why the older microsoft guard were shitting their pants and calling GPL "cancer" : RMS had designed something that incidentally happens to be completely EEE-proof.
The modifications of further GPL version were just about patching circumventions that some companies have found around the "keep the same freedom to the next in line" part.
GPLv1 made it mandatory to make source available together with the software.
Companies: "here's the code, but you can't legally do anything with it, because it's patent covered and you're violating our IP"
GPLv2 made it mandatory to grant access to the patents, without royalties.
Companies (e.g. TiVo): "here's the code, but in practice you can't really modify it because uploading your mods requires our secret cryptographic key"
GPLv3 made mandatory to provide a way (e.g.: key provided, unlockable bootloader, etc.) to actually be able to use modification in practice.
Currently there's no apparent need for a GPLv4 : no company has invented a way to give you the code, the patents license and the cryptographic keys, but still prevent you from actually modifying the code.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
i presume we mean curl but this is moot. Anyone who needed curl or tar "from the command prompt" (as if it came anywhere else?) {...}
Yes, curl comes anywhere else.
It has also a library (libcurl) and that library is used for web interface by lots of modules.
Probably lots of GUI application use curl as their peculiar backend to download stuff.
Except that in WSL's specific case, support for GUI isn't stellar (basically, you need to X-over-network to a Windows native X-Server), so probably nobody is using GUI, and in practice, yes, curl is mostly only used on the command line in Windows-land.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
Seems to me that most people who would desire this terminal command Linux on Windows is a group of people who probably would simply run Linux in a native boot form, or already in a VM form. The rest of Windows users wouldn't see any benefit to it at all. Even the argument that you can add a GUI and make some of these a full on desktop Linux doesn't really make sense running on Windows.
...or a lot of Kali stuff is useless
and why does he run as a native process on my computer??
and almost 40 years after its (tar's) initial introduction... does this mean windows 10 will finally be usable in another 40?
Thanks Curt!
Curt ? I know cut and curl, but no curt. Is this a new extend by MS? Are we about to get extinguished?
Nae king! Nae laird! Nae yurrupiean pressedent! We willna be fooled again!
I run Ubuntu 16.04 LTS in a VM and ssh to it. I can run Linux commands and programs, connect to other computers on the interwebs, etc. Serious question: How is WSL better?
I was an early user of Win10/WSL and the system crashed so hard no restore was possible. I now run Win 10 LTSB and VirtualBox without problems. Recommended.
This means that I will be able to run Linux as a bag on the side of your wonderful Windows 10 product with two big advantages over a normal Linux installation: I will have the enormous overhead and slow boot time of Windows to deal with daily. And, Windows 10 will continue to spy on my every move and report it to you without telling me. I can hardly wait to get on the bandwagon with this one.
Now that you have proper OS support, just make the move and go to a proper OS! WSL is a joke, it's for users who want to act like their Linux users, without running Linux, so just bite the bullet and move to a proper OS.
At the end of the day I just want to get my work done as easily and quickly as possible and for me this helps a lot.
On the downside it kinda sucks that this will probably kill both winscp and putty that I have been using for years.
horseshit
Comment removed based on user account deletion
Comment removed based on user account deletion
the joke
you
The extra 'e' is to get it past the watchers in Texas.
(http://www.softpanorama.org/Bulletin/Humor/bsd_logo_story.shtml)
You can actually access registry files offline. With the stock RegEdit - http://smallvoid.com/article/w...
I am able to load Cygwin on my Windows 10 system at home in the /cygwin64 directory, bring it to work on a flash drive, unzip it on my work desktop, and I suddenly have X-Windows, an ssh suite, and a compiler.
It is unlikely that I will be getting WSL on my work machine without lots of approval gymnastics, so I will pass on it for now.
Can you get a linux distribution installed *without* using the Microsoft store?
One improvement that's not advertised is that multithreaded applications under wsl now randomly fail to open files. Makes running builds under wsl really .. fun.
They already have a fix. It'll roll out to users in the fall update. Seriously.
The main issue :
Emulation - of course, by definition - would require to run a full blown virtual machine emulating a whole freaking Android smartphone.
On top of the Windows 10 Mobile running smartphone.
Not many smartphones have enough resource to play at this games. And again the whole point of the effort is to make Android apps available on Windows 10 Mobile to as many users as possible to make it attractive by tapping into the dominant ecosystem. It would be counter productive to advertise "Windows 10 Mobile can now run your favourite Android App - (*only on select few high range phones)".
That's why in Linux land "Android-in-a-box" efforts are shifting toward "andbox" (lightweight containers, no full blown emulation).
Past effort have also been running straight a top of the main Linux kernel (e.g.: Alien-dalvik by Myriad, runs the "I can't believe it's not JAva(tm)" JIT simply as another user-space program in a chroot).
ChromeOS too is relying on containerization.
But of course that's much easier when you main kernel is having nearly identical API that your target (save for a few android specific things like its peculiar IPC, that you can compile and load as modules anyway). Microsoft are having a much upstream battle. That they are apparently losing (Hey, how does it feel to have a taste of your own medicine ? Ask the wine guys what they are thinking!...)
Also some minor other issues:
Also another thing is that you'd have to install the Android VM image.
Which might bring some licensing issues (Google services are licensed vs. the free AOSP misses pieces that some application might require)
And make Android app convenient to install (in a VM setting, there should be some android app store available inside the VM - e.g.: aptoid is a popular one).
Having android as just another userspace layer makes it easier to install apps "from the outside", e.g.: install from the Microsoft app store (real-world example: see how aptoid apps are integrated into the main Jolla Sailfish store).
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
Why would any pen tester ever run Kali as a Windows subsystem/vm? That makes about as much sense as taking a Formula 1 race car, strapping it onto a flatbed tow truck that has all kinds of things clacking on it and racing that in the Indy 500. Yea you can do it, only an idiot would do that. The whole point of Kali is that it's very quiet. The latest one is so quiet it's scary if you're looking for someone using it. Using Linux it's way faster with the network than Windows is.