This might be a basic question but i wanted to ask since i am not aware about it.
if i have a binary file which was was created on HP-UX and suddenly i take this binary file on linux or let’s say in any other platform like AIX or sun solaris and if i want to check about the details of the binary as to in which platform it was developed,how could i do it on any platform ?or is there a generic way doit it on all the flavour’s of unix?
The
filecommand gives you some information about any file, not only executables.On executables, it gives results such as:
MS Windows PE 32-bit Intel 80386 console executable not relocatable
or
ELF 32-bit MSB executable, SPARC, version 1 (SYSV), statically linked, not stripped