×
UNIX.COM Login
Username:
Password:  
Show Password






👤


BSD 2.11 - man page for nm (bsd section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
man
Select Man Page Set:


NM(1)											    NM(1)

NAME
       nm - print name list (2BSD)

SYNOPSIS
       nm [ -gnopru ] [ file ... ]

DESCRIPTION
       Nm  prints  the	name list (symbol table) of each object file in the argument list.  If an
       argument is an archive, a listing for each object file in the archive  will  be	produced.
       If no file is given, the symbols in "a.out" are listed.

       Each  symbol  name is preceded by its value (blanks if undefined) and one of the letters U
       (undefined), A (absolute), T (text segment symbol), D (data segment symbol), B  (bss  seg-
       ment  symbol),  C  (common symbol), or f file name.  If the symbol is local (non-external)
       the type letter is in lower case.  If the file is an overlaid executable, the overlay num-
       ber is printed after the name.  The number is printed if the symbol is in an overlay or if
       it is the entry point (in the base segment) for a subroutine in an overlay.  The output is
       sorted alphabetically.

       Options are:

       -g     Print only global (external) symbols.

       -n     Sort numerically rather than alphabetically.

       -o     Prepend file or archive element name to each output line rather than only once.

       -p     Don't sort; print in symbol-table order.

       -r     Sort in reverse order.

       -u     Print only undefined symbols.

SEE ALSO
       ar(1), ar(5), a.out(5), stab(5)

3rd Berkeley Distribution		  April 29, 1985				    NM(1)


All times are GMT -4. The time now is 03:33 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.