Nm-tool

  1. M-tools Pro Audio
  2. M-tools
nm
Original author(s)Dennis Ritchie,
Ken Thompson
(AT&T Bell Laboratories)
Developer(s)Various open-source and commercial developers
Initial releaseNovember 3, 1971; 49 years ago
Operating systemUnix, Unix-like, Plan 9
PlatformCross-platform
TypeCommand

The nm command ships with a number of later versions of Unix and similaroperating systems including Plan 9. nm is used to examine binary files (including libraries, compiled object modules, shared-object files, and standalone executables) and to display the contents of those files, or meta information stored in them, specifically the symbol table. The output from nm distinguishes between various symbol types. For example, it differentiates between a function that is supplied by an object module and a function that is required by it. nm is used as an aid for debugging, to help resolve problems arising from name conflicts and C++name mangling, and to validate other parts of the toolchain.

However, when I run nm-tool it still shows some DNS servers that I do not know where they are coming from. This system is not using DHCP, everything is statically configured, but just in case I went into /etc/dhcp/dhclient.conf and added 'prepend domain-name-servers 8.8.8.8' thinking this would manually add 8.8.8.8 on top of the DNS servers I. The nm command ships with a number of later versions of Unix and similar operating systems including Plan 9. Nm is used to examine binary files (including libraries, compiled object modules, shared-object files, and standalone executables) and to display the contents of those files, or meta information stored in them, specifically the symbol table.

The GNU Project ships an implementation of nm as part of the GNU Binutils package.

nm output sample[edit]

Step 1: Complete DOT user profile and set up user requirements: Ensure you have an up-to-date user profile in the Dental Office Toolkit. Failing to provide up-to-date and accessible contact information will require re-registration to use the new Toolkit. To ensure that the entered email address and phone number is locally and immediately. Dns serversubuntukubuntuterminalshell.

If the previous code is compiled with the gcc C compiler, the output of the nm command is the following:

When the C++ compiler is used, the output differs:

The differences between the outputs also show an example of solving the name mangling problem by using extern 'C' in C++ code.

M-tools Pro Audio

See also[edit]

External links[edit]

The Wikibook Guide to Unix has a page on the topic of: Commands
  • nm: write the name list of an object file – Commands & Utilities Reference, The Single UNIX Specification, Issue 7 from The Open Group
  • nm(1) – Plan 9 Programmer's Manual, Volume 1

M-tools

Nm tool boxes
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Nm_(Unix)&oldid=995528552'