Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|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
add comment

2 Answers

up vote 7 down vote accepted

Your kernel is a i686 version, so 32 bits.

share|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
4  
64bit may also be written as x86_64 which might cause some confusion. –  chunkyb2002 Mar 17 '11 at 10:51
add comment

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

share|improve this answer
    
Thanks, it's useful too –  fl00r Mar 17 '11 at 11:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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