Examples (5)
Display all information about the ELF file
readelf -all path/to/binaryDisplay all the headers present in the ELF file
readelf --headers path/to/binaryDisplay the entries in symbol table section of the ELF file, if it has one
readelf --symbols path/to/binaryDisplay ELF header information
readelf --file-header path/to/binaryDisplay ELF section header information
readelf --section-headers path/to/binarymade by @shridhargupta | data from tldr-pages