1830931 Members
2167 Online
110017 Solutions
New Discussion

Binary - 64bit??

 
EML
Advisor

Binary - 64bit??

How would I know if a binary is a 64bit? Is it possible to know by commands?
3 REPLIES 3
Caesar_3
Esteemed Contributor

Re: Binary - 64bit??

Hello!

Check this: chatr, file, what

Caesar
Jim Mallett
Honored Contributor

Re: Binary - 64bit??

Jeff Schussele
Honored Contributor

Re: Binary - 64bit??

Hi,

If you run the file command against the binary file & get:

PA-RISC1.1 and/or SOM ==> 32-bit

PA-RISC2.0 and/or ELF ==> 64-bit

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!