1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-21 11:15:42 +02:00
tldr/pages/linux/readelf.md
Lena c9775847b6
pages/*: use the imperative in descriptions (#12574)
* pages/*: use the imperative in descriptions

* go-fmt: put the description on one line
2024-04-18 09:34:00 +05:30

20 lines
543 B
Markdown

# readelf
> Display information about ELF files.
> More information: <http://man7.org/linux/man-pages/man1/readelf.1.html>.
- Display all information about the ELF file:
`readelf -all {{path/to/binary}}`
- Display all the headers present in the ELF file:
`readelf --headers {{path/to/binary}}`
- Display the entries in symbol table section of the ELF file, if it has one:
`readelf --symbols {{path/to/binary}}`
- Display the information contained in the ELF header at the start of the file:
`readelf --file-header {{path/to/binary}}`