[dba-Tech] Microsoft is bringing the Bash shell to Windows 10

Martin Reid mwp.reid at qub.ac.uk
Tue Apr 5 01:35:50 CDT 2016


Why? Azure
________________________________
From: Jim Lawrence<mailto:accessd at shaw.ca>
Sent: ‎05/‎04/‎2016 06:40
To: Discussion of Hardware and Software issues<mailto:dba-tech at databaseadvisors.com>
Subject: Re: [dba-Tech] Microsoft is bringing the Bash shell to Windows 10

Shamil:

I saw the video and it looked interesting...and finally had a chance to play with it.

As far as I can see it is just an emulator and not full featured yet. The other thing worthy of noting that there is only one Bash shell allowed per session. On real Linux you could open a dozen or more shells and run processes on each and only if you actually locked a file would another shell no have complete access. You can also use one shell to release another if process became locked.

I am not really sure what the advantage to having a Bash shell on a Windows box is, as any real system commands are currently blocked and I am not sure whether they will be supported in the final version. The real properties of Linux are that a person can run many environment with many separate users and each user/process is completely isolated. All Linux computers are basically full servers.

Running a Bash shell on a single user Windows box is nice and fun but the question is why? As soon as multiple simultaneous processes are spawned or more accurately attempted to be spawned...like a fork for example...it of course bails. Then the are virtual file systems, direct calls to hardware like checking the condition of wireless "iwconfig"...even ifconfig is limited. Try to set or add additional ip addresses and well... Then try running virtual processes across the network... I have not tried this yet, because I am sure I know what the result would be; if I downloaded a tar-ball, expanded it and attempted to recompile the source with all it dependencies would it unceremonious crash?

Linux is a multi-user, multi-processing system with multiple levels of isolation and background and parallel processing capabilities. I can not imagine how that could be shoe-horned into a rather simplistic single user Windows 10 OS, that I have previously been able to crash with impunity.

I think the effort is great but at the end why would anyone bother? OTOH, dropping Windows 10 into a Linux box is a great idea. A remote user could call in pick their session, any of a dozen GUIS, and in some cases this could be Windows 10, and a host of other users could remote in and do the same...of course this would break the Windows licensing agreement, with say a half dozen instances running simultaneously on the same computer. Just like you can have five copies of MS Access running on your computer...through five different logins...or if you used a bare bone VFS, like KVM, hundreds of copies could be spawned. (I have heard this can be done I have not done this myself...)

In conclusion, its real nice but why? Maybe it is so that Windows users can get up to speed on Linux basics?

Jim

----- Original Message -----
From: "Salakhetdinov Shamil" <mcp2004 at mail.ru>
To: "Discussion of Hardware and Software issues" <dba-tech at databaseadvisors.com>
Sent: Thursday, March 31, 2016 2:29:56 AM
Subject: Re: [dba-Tech] Microsoft is bringing the Bash shell to Windows 10

 Peter --

I have no information will  "win10's Bash know how to hide the infamous Microsoft folder backslash".

Here is a "Linux Command Line on Windows" ( https://channel9.msdn.com/Events/Build/2016/C906  ) video discussion from Build 2016 providing more info/demos on subject topic.

-- Shamil

>Thursday, March 31, 2016 10:54 AM +03:00 from Peter Brawley <peter.brawley at earthlink.net>:
>
>On 3/30/2016 13:05, Salakhetdinov Shamil wrote:
>>   Hi Gustav --
>>
>> No, it's just a useful new MS Windows 10 feature for developers, system integrators etc., they (MS) say they might bring other shells to MS Windows 10 similar way but this first one is the most important I suppose...
>>
>> Watch live  (  http://tinyurl.com/hftus4z ) - here are a few short notes I have made but I have missed the most part of it:
>>
>> 1. Windows Ink
>> 2. Bash comes to Windows (native Ubuntu executables)
>> 3. Convert Win32/.NET apps to the Windows Universal Platform (UWP)
>> 4. Development for UWP, iOS, Android in VS2015
>> 5. Holographic computing - Microsoft Hololens - Hololens Dev Kit - Galaxy Explorer - developed in 6 weeks, code is open sourced on Git ( https://github.com/Microsoft/GalaxyExplorer )
>> 6. DirectX 12
>> 7. Skype Bot SDK - -  https://dev.botframework.com
>> 8. Cortana Intelligence Suite
>
>Will win10's Bash know how to hide the infamous Microsoft folder backslash?
>
>PB
>
>-----
>
>> ...
>> Thank you.
>>
>> -- Shamil
>>
>>
>>> Wednesday, March 30, 2016 8:36 PM +03:00 from Gustav Brock < gustav at cactus.dk >:
>>>
>>> Hi Shamil
>>>
>>> What’s next? Linux 10?
>>>
>>> /gustav
>>>
>>>
>>> Fra: Salakhetdinov Shamil<mailto:  mcp2004 at mail.ru >
>>> Sendt: 30. marts 2016 19:14
>>> Til: Discussion of Hardware and Software issues<mailto:  dba-tech at databaseadvisors.com >
>>> Emne: [dba-Tech] Microsoft is bringing the Bash shell to Windows 10
>>>
>>> Hi All --
>>>
>>> FYI:  "Microsoft is bringing the Bash shell to Windows 10"
>>>
>>>  http://tinyurl.com/h6ufgj6
>>>
>>> "The native availability of a full Ubuntu environment on Windows, without virtualization or emulation, is a milestone that defies convention and a gateway to fascinatingly unfamiliar territory..."
>>>
>>> --
>>> Салахетдинов Шамиль
>>>
>

_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com

_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com


More information about the dba-Tech mailing list