ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Run Bash on Ubuntu on Windows

(1/2) > >>

Deozaan:
You can now run Bash scripts, Linux command-line tools like sed, awk, grep, and you can even try Linux-first tools like Ruby, Git, Python, etc. directly on Windows. You can also access your Windows filesystem from within Bash allowing you to work on the same set of files using your preferred Windows tools or Linux command-line tools-https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/
--- End quote ---

wraith808:
Thanks!  Good news!

mwb1100:
Just keep in mind that this sounds like it's running a lightweight VM of some sort - the bash window cannot run or interact with Windows programs.  The programs you run in the bash window are actually linux binaries, not something that runs on an emulation layer like Cygwin or that run in the old Posix subsystem (I think MS has removed that from Windows some time back).

That's not to say that it won't be useful, just that it might not act the way some people might think it would.

Edvard:
* Edvard drops in with his obligatory link to gnuwin32 tools
Nope, it's not an environment like Cygwin, not in a Ubuntu VM, it's actual binaries that behave just like any command-line tools, it's been around for a while, and still (relatively) actively developed.  I have no idea why Microsoft took the route it did when these tools are readily available.
http://gnuwin32.sourceforge.net/

wraith808:
Probably because they wanted to integrate it with powershell and have control of that integration.

Navigation

[0] Message Index

[#] Next page

Go to full version