←back to thread

Ubuntu on Windows

(blog.dustinkirkland.com)
2049 points bpierre | 1 comments | | HN request time: 0.205s | 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 #
niutech ◴[] No.11392940[source]
See this screenshot showing uname -a: https://1.bp.blogspot.com/-PTJrez4z0Jc/Vvr-VH5DQOI/AAAAAAAFH...
replies(1): >>11393090 #
1. drewg123 ◴[] No.11393090[source]
Seems less honest than the Linux env on FreeBSD, which at least puts FreeBSD in there for uname -a. Eg:

% uname -srm FreeBSD 10.3-RELEASE amd64 % /compat/linux/bin/bash bash-4.1$ /bin/uname -srm Linux 2.6.32 i686 bash-4.1$ /bin/uname -a Linux viserion 2.6.32 FreeBSD 10.3-RELEASE #0 4b75b72(releng/10.3): Fri Mar 25 19:14:5 i686 i686 i386 GNU/Linux bash-4.1$ cat /proc/cpuinfo | grep 'model name' | head -1 model name : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz