[YLUG] How can you find out if an install is 32 or 64 bit?

Steve Kemp steve at steve.org.uk
Fri May 20 15:23:12 UTC 2011


On Fri May 20, 2011 at 15:46:14 +0100, ALEX ARMANI wrote:

>    How can you find out if an install is 32 or 64 bit?

  Simplest way is to look at the kernel version, but failing that this
 is pretty simple:

    file /bin/ls

  On my amd64/64-bit machine I see this:

  skx at birthday:~$ file /bin/ls
  /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),...

  On my i368 host I see this:

  steve at steve:~$ file /bin/ls
  /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),


Steve
-- 
http://www.steve.org.uk/



More information about the York mailing list