<OT> RE: proper way to determine arch of *installed* OS, not processor?

Hakan Koseoglu hakan at koseoglu.org
Sat May 7 07:11:22 UTC 2011


On 07/05/11 06:47, Ric Moore wrote:
> wayward4now at iam:~$ more /proc/version
> Linux version 2.6.32-32-generic (buildd at roseapple) (gcc version 4.4.
> 3 (Ubuntu 4.4.3-4ubuntu5) ) #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2
> 011
> wayward4now at iam:~$ uname -a
> Linux iam 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011
> i686 GNU/Linux
> wayward4now at iam:~$
>
> A reference to Linux in /proc/version is converted to GNU/Linux by uname
> -a  huh. :) Ric
The last one is the output of the uname -o (OS), not the kernel version.





More information about the ubuntu-users mailing list