Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
readelf option[...] elffiles
Display information about one or more ELF (Executable and Linking Format) object files. At least one option is required to specify the information to be displayed for each file. readelf does not currently work on archive files or 64-bit ELF files.
Display all. Equivalent to -A -d -h -I -l -r -s -S -V.
Display architecture-specific information, if any.
Display the dynamic section.
When displaying symbols, use the symbol table in the dynamic section, not the symbols section.
Display all headers. Equivalent to -h -l -s.
Display the ELF header at the beginning of the file.
Display help information and exit.
Display a histogram of bucket bit lengths when displaying the symbol tables.
Display the segment headers, if any.
Display the NOTE segment, if any.
Display the relocation segment, if any.
Display entries in symbol table sections, if any.
Display the section headers, if any.
Display the unwind section, if any (currently applies only to IA64 ELF files).
Display version information and exit.
Display the version sections, if any.
Display the debug sections. If specified with an option, display only that section. The options shown here in parentheses are for -w; the words preceding them are for --debug-dump. The options are abbrev (a), frames (f), frames-interp (F), info (i), line (l), loc (o), macro (m), pub-names (p), ranges (r) and str (s).
Don't break output lines at 80 columns. The default is to break them. Useful for wide terminals.
Display a hexadecimal dump of the section number.