TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bash on Windows: The Good, the Bad and the Ugly

5 pointsby daw___about 9 years ago

4 comments

chmielewskiabout 9 years ago
You are confusing bash with other packages (apt is not bash - if I installed bash and it "came with" a package manager, I'd be suspicious... or in this case, know that I'm using Ubuntu's bash). Your expressing dismay at lack of anything further than coreutils seems odd.
dzdtabout 9 years ago
Can someone explain what MS bash will do (or potentially do) better than mingw/msys?
评论 #11487600 未加载
评论 #11489860 未加载
brudgersabout 9 years ago
Curses is the GUI for Bash. Anyone tied getting it to work yet?
JdeBPabout 9 years ago
There are several problems with this article. In no particular order, here are some:<p>* The &quot;only missing platform&quot; statement is incorrect. The Bourne Again shell is not part of the BSDs, for starters. It&#x27;s available through packages&#x2F;ports. But it&#x27;s not part of the operating system. If, however, one is including add-on softwares that can be installed by the user; then by that measure Windows was <i>not a &quot;missing platform&quot; in the first place</i>, add-on Unix-like shells (not solely the Bourne Again shell, either) having been available for Windows for decades.<p>* &quot;all it matters is that we are going to have a universal scripting language&quot; -- As I mentioned at <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11417487" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11417487</a> in fact what matters is that the range of tools <i>expands</i>, and does the <i>opposite</i> of shrinking to just one shell.<p>* &quot;nothing that requires even most basic UI will work&quot; -- This is demonstrated false by a video of Ubuntu X11 applications running on the Windows NT Linux subsystem; which is on Hacker News at <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11466270" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11466270</a> .<p>* The answer to “how .. do I install node.js that is not the 0.10 legacy version that apt-get is offering me?“ is in fact &quot;Use something newer than the Ubuntu 14.04 LTS that you&#x27;re installing from by default.&quot; Contrast <a href="http:&#x2F;&#x2F;packages.ubuntu.com&#x2F;trusty&#x2F;nodejs" rel="nofollow">http:&#x2F;&#x2F;packages.ubuntu.com&#x2F;trusty&#x2F;nodejs</a> with <a href="http:&#x2F;&#x2F;packages.ubuntu.com&#x2F;xenial&#x2F;nodejs" rel="nofollow">http:&#x2F;&#x2F;packages.ubuntu.com&#x2F;xenial&#x2F;nodejs</a> . And stop abusing &quot;legacy&quot; to mean &quot;old&quot;, while you&#x27;re about it.<p>* &quot;everything runs as root by default&quot; -- Incorrect, and this is in the release notes. <a href="http:&#x2F;&#x2F;askubuntu.com&#x2F;questions&#x2F;754942&#x2F;" rel="nofollow">http:&#x2F;&#x2F;askubuntu.com&#x2F;questions&#x2F;754942&#x2F;</a><p>* &quot;You can see on the left the Bash on Windows console full of errors after installing PyGTK&quot; -- Ironically, both of the images clearly show something that is not that; but is, rather, a console full of errors after attempting to install <i>udev</i>. Indeed, the image clearly shows the installer stating that &quot;python-gtk2 is already the newest version&quot;. It should not be surprising that the Linux &quot;plug and play manager&quot; doesn&#x27;t install on the Windows NT kernel. Indeed, it should not be too surprising also that an install procedure that requires 14.04&#x27;s upstart in order to succeed is not going to work too well on a system where upstart won&#x27;t work. <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11416376" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11416376</a><p>* &quot;I’m not sure how to copy and paste if not through the mouse&quot; -- This is just a matter of M. Giammarchi not being familiar with the Windows keyboard shortcuts for pulling up the system menu for a console window and selecting &quot;Edit&#x2F;Mark&quot; and &quot;Edit&#x2F;Paste&quot;, which are just specific instances of the general shortcuts listed in <a href="https:&#x2F;&#x2F;support.microsoft.com&#x2F;en-gb&#x2F;kb&#x2F;126449" rel="nofollow">https:&#x2F;&#x2F;support.microsoft.com&#x2F;en-gb&#x2F;kb&#x2F;126449</a> and which have been there for a long time. Then of course there are <a href="http:&#x2F;&#x2F;withinrafael.com&#x2F;new-experimental-console-features-in-windows-threshold&#x2F;" rel="nofollow">http:&#x2F;&#x2F;withinrafael.com&#x2F;new-experimental-console-features-in...</a> , <a href="https:&#x2F;&#x2F;blogs.windows.com&#x2F;buildingapps&#x2F;2014&#x2F;10&#x2F;07&#x2F;console-improvements-in-the-windows-10-technical-preview&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.windows.com&#x2F;buildingapps&#x2F;2014&#x2F;10&#x2F;07&#x2F;console-im...</a> , and <a href="https:&#x2F;&#x2F;technet.microsoft.com&#x2F;en-gb&#x2F;library&#x2F;mt427362.aspx" rel="nofollow">https:&#x2F;&#x2F;technet.microsoft.com&#x2F;en-gb&#x2F;library&#x2F;mt427362.aspx</a> .