←back to thread

Ubuntu on Windows

(blog.dustinkirkland.com)
2049 points bpierre | 1 comments | | HN request time: 0.202s | source
Show context
msoad ◴[] No.11390994[source]
So what OS you're going to get when you run an application under this? So if I run this:

    node -e 'console.log(require("os").type())'
What it's going to print?
replies(7): >>11391034 #>>11391059 #>>11391325 #>>11391359 #>>11392940 #>>11393115 #>>11394355 #
pookeh ◴[] No.11391359[source]
Depends if the node is a Windows executable or a Linux binary.
replies(1): >>11392827 #
jensvdh ◴[] No.11392827[source]
So if I install Node as a Linux binary. Can I access it in Windows "environment" too?

Does that mean I can do "apt-get install nginx" from their new "bash" terminal app? Does that then run under port 80 in Windows? Since no VM is involved.

I'm still a bit confused.

replies(1): >>11394170 #
1. anonymfus ◴[] No.11394170[source]
>Does that then run under port 80 in Windows?

Yes, they demonstrated that localhost is the same localhost under both environments.