[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 64 bits or 32 bits? How to define?



Le Tuesday 13 November 2007 20:17:35 Pantor, vous avez écrit :
> Hi,
>
> anybody can tell me how to define is my system 64 bits or 32 bits?
> Thanks in advance.
>
> Andrius

Use file on a binary for example :
$ file /bin/bash
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 
2.6.0, dynamically linked (uses shared libs), stripped

=> 64bits

uname can tel you if your kernel is 64bits (amd64 arch) or 32bits (i486, i686, 
k7) but it doesn't means your entire distribution is 64bit.
You can have a 32bit distrib with a 64bit kernel.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: