On Thu, Dec 29, 2005 at 02:46:35PM +0200, Oleg Gritsinevich wrote: > I can be totally wrong, but AFAIK you can have 64-bit kernel and > 32-bit userspace. In this case `uname -m` will return x86_64. So IMHO > better way to determine is your system "really" 64-bit is to check > output of: > > $ file /bin/date > > In 32-bit system it will return something like: > /bin/date: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV)... > In 64-bit something like: > /bin/date: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV)...
'echo $MACHTYPE' might work. Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

