How can I find 32 or 64 bit my OS is? I thought uname returns it, but I can't find it there.

> uname -a
> Linux fl00r 2.6.35-27-generic-pae #48-Ubuntu SMP Tue Feb 22 21:46:58 UTC 2011 i686 GNU/Linux
link|improve this question

This is a question for Super User, where it's already been answered many times, for example here. – Gilles Mar 18 '11 at 1:06
feedback

2 Answers

up vote 6 down vote accepted

Your kernel is a i686 version, so 32 bits.

link|improve this answer
i386 and i686 is 32 bit? and which kernels are for 64? – fl00r Mar 17 '11 at 10:32
Yes, they are. 64 bits kernels are for example, amd64 or ia64. – Laurent Mar 17 '11 at 10:42
thank you, @Laurent :) – fl00r Mar 17 '11 at 10:44
3  
64bit may also be written as x86_64 which might cause some confusion. – chunkyb2002 Mar 17 '11 at 10:51
feedback

Something not quite on the question but something u might find useful,

more /etc/issue

tells u about the OS on nearly all *nix boxes.

Also check out: /proc

ie: more /proc/version

Hope it helps

link|improve this answer
Thanks, it's useful too – fl00r Mar 17 '11 at 11:27
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.