« Cutting MS Word v.X CPU load | Main | American Military Operation Name Generating Device »

Lookup NetBIOS names from OS X

This falls under so many categories. MacOSXHints has this storyAn AppleScript to look up NetBIOS names. but Real Men use the Terminal. Here's the command line bit that does the real work:

nmblookup -T -U <WINS server IP> -R <NetBIOS name>

Here's an example for work and its output:

cwcx% nmblookup -T -U 128.151.209.155 -R esmdc
querying esmdc on 128.151.209.155
esmdc.esm.rochester.edu, 128.151.209.155 esmdc<00>

In this case I used the WINS server to look up the WINS server's NetBIOS name.

About

This page contains a single entry from the blog posted on March 28, 2003 5:19 PM.

The previous post in this blog was Cutting MS Word v.X CPU load.

The next post in this blog is American Military Operation Name Generating Device.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31