ELF stands for Executable and Linking Format
$ file /bin/ls
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
这里的ELF 32-bit 说明你的cpu是32位，如果是64-bit就说明是64位的cpu
ELF stands for Executable and Linking Format. This format is used for object files on most UNIX platforms including Linux. There are basically three types of object files:
- A relocatable file holds code and data suitable to be linked with other object fields to create an executable or shared object file, or another relocatable object.
- An executable file holds a program that is ready to execute.
- A shared object file holds code and data suitable to be linked to other shared objects or relocatable files. (The object file format is shown in the figure below.)