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.
addr2line [options] [addresses]
Translate hexadecimal program addresses into filenames and line numbers for the executable given with the -e option, or a.out if -e is not specified. If addresses are given on the command line, display the filename and line number for each address. Otherwise, read the addresses from standard input and display the results on standard output (useful for use in a pipe). addr2line prints two question marks (??) if it cannot determine a filename, and 0 if it cannot determine the line number. addr2line is used for debugging.
Set the binary file format using its binary file descriptor name, bfdname. Use the -h option for a list of supported formats for your system.
Decode (demangle) low-level symbol names into usernames. See the -h help output for a list of styles supported by your compiler.
Specify the filename of the executable to use. The default filename is a.out.
Display function names in addition to filenames and line numbers.
Display help information and exit.
Strip directories off filenames and show only the basenames.