Unix and Linux Discussions Tagged with symbols |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
70,738 |
Shell Programming and Scripting |
|
|
|
1 |
14,097 |
AIX |
|
|
|
9 |
1,528 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,496 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,024 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,025 |
HP-UX |
|
|
|
0 |
2,201 |
AIX |
|
|
|
0 |
2,106 |
Software Releases - RSS News |
|
|
|
0 |
3,554 |
Programming |
|
|
|
7 |
14,397 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
9,908 |
Programming |
|
|
|
2 |
11,738 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,723 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,387 |
UNIX for Dummies Questions & Answers |
NM(1) General Commands Manual NM(1)
NAME
nm - print name list
SYNOPSIS
nm [-dgnopru] [file] ...
OPTIONS
-d Print the offsets in decimal instead of in hex
-g Print only external symbols
-n Sort numerically rather than alphabetically
-o Prepend file name to each line rather than only once
-p Do not sort, print in symbol-table order
-r Sort in reverse order
-u Print only undefined symbols
EXAMPLES
nm -n a.out # Print all symbols in numerical order
nm -dg a.out # Print globals alphabetically in decimal
DESCRIPTION
Nm prints the symbol table of executable files when it is available. If no file is given, the symbols in a.out are used. The format of
the table is somewhat compatible with the one produced by asld when used with the -s option. The symbol table can be added with ast.
Assembly language files do not have symbol tables.
SEE ALSO
anm(1), asize(1), ar(1), size(1).
NM(1)