JN, $ file /bin/ls /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped Not sure about the windows part. PB On Tue, Apr 13, 2010 at 11:32 AM, Prof. John C Nash <nashjc [ at ] uottawa [ dot ] ca> wrote: > With a colleague I've been building some statistical tools for Lin and Win. We want 64 > bit. Does anyone know of a quick check to see if a binary is 64 bit. I think there should > be something like > > checkbin myfile > > that will return the type e.g., ELF 32, ELF 64 etc. > > Of course, we'd like to find Win equivalent too. But for starters a Linux tool would be > helpful. > > I've found it difficult to come up with search terms that don't find all sorts of > extraneous material and nothing of interest. > > Cheers, JN > _______________________________________________ > Linux mailing list > Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca > http://oclug.on.ca/mailman/listinfo/linux >