![Forrest logo](/images/logo.png)
nmblookup:tldr:1893a
nmblookup: Find hosts in the local network with SMB shares.
$ nmblookup -S '*'
try on your machine
The command "nmblookup -S '*'" is used to query all NetBIOS names on a network using the NetBIOS over TCP/IP (NBT) protocol.
Here's a breakdown of the different components of the command:
- "nmblookup" is the actual command being invoked. It is a utility generally used on Unix-like systems to troubleshoot and query NetBIOS names.
- "-S" is an option/flag for the nmblookup command. In this context, it stands for "query NBSTAT records". NBSTAT records contain information about NetBIOS names registered and active on the network.
- "" is a wildcard that is used to specify that all NetBIOS names should be queried. By using "", it means the command will search for all registered NetBIOS names on the network.
Putting it all together, running "nmblookup -S '*'" will fetch and display the NBSTAT records for all NetBIOS names available on the network.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.