OS Manuals

/usr/bin/nmblookup

Samba client programs

From samba-client 4.25.1-r1 (os), captured 2026-11-05 by running nmblookup --help (exit 0). permalink

Usage: <NODE> ...
  -B, --broadcast=BROADCAST-ADDRESS         Specify address to use for
                                            broadcasts
  -f, --flags                               List the NMB flags returned
  -U, --unicast=STRING                      Specify address to use for unicast
  -M, --master-browser                      Search for a master browser
      --recursion                           Set recursion desired in package
  -S, --status                              Lookup node status as well
  -T, --translate                           Translate IP addresses into names
  -r, --root-port                           Use root port 137 (Win95 only
                                            replies to this)
  -A, --lookup-by-ip                        Do a node status on <name> as an
                                            IP Address

Help options:
  -?, --help                                Show this help message
      --usage                               Display brief usage message

Common Samba options:
  -d, --debuglevel=DEBUGLEVEL               Set debug level
      --debug-stdout                        Send debug output to standard
                                            output
  -s, --configfile=CONFIGFILE               Use alternative configuration file
      --option=name=value                   Set smb.conf option from command
                                            line
  -l, --log-basename=LOGFILEBASE            Basename for log/debug files
      --leak-report                         enable talloc leak reporting on
                                            exit
      --leak-report-full                    enable full talloc leak reporting
                                            on exit

Connection options:
  -R, --name-resolve=NAME-RESOLVE-ORDER     Use these name resolution services
                                            only
  -O, --socket-options=SOCKETOPTIONS        socket options to use
  -m, --max-protocol=MAXPROTOCOL            Set max protocol level
  -n, --netbiosname=NETBIOSNAME             Primary netbios name
      --netbios-scope=SCOPE                 Use this Netbios scope
  -W, --workgroup=WORKGROUP                 Set the workgroup name
      --realm=REALM                         Set the realm name

Version options:
  -V, --version                             Print version
Options (26)
OptionDescriptionSource
-B, --broadcast BROADCAST-ADDRESSSpecify address to use for broadcastshelp
-f, --flagsList the NMB flags returnedhelp
-U, --unicast STRINGSpecify address to use for unicasthelp
-M, --master-browserSearch for a master browserhelp
--recursionSet recursion desired in packagehelp
-S, --statusLookup node status as wellhelp
-T, --translateTranslate IP addresses into nameshelp
-r, --root-portUse root port 137 (Win95 only replies to this)help
-A, --lookup-by-ipDo a node status on <name> as an IP Addresshelp
-?, --helpShow this help messagehelp
--usageDisplay brief usage message.help + man
-d, --debuglevel DEBUGLEVELSet debug levelhelp
--debug-stdoutThis will redirect debug output to STDOUT.help + man
-s, --configfile CONFIGFILEThe file specified contains the configuration details required by the client.help + man
--option name=valueSet the smb.conf(5) option "<name>" to value "<value>" from the command line.help + man
-l, --log-basename LOGFILEBASEBasename for log/debug fileshelp
--leak-reportEnable talloc leak reporting on exit.help + man
--leak-report-fullEnable full talloc leak reporting on exit.help + man
-R, --name-resolve NAME-RESOLVE-ORDERUse these name resolution services onlyhelp
-O, --socket-options SOCKETOPTIONSsocket options to usehelp
-m, --max-protocol MAXPROTOCOLSet max protocol levelhelp
-n, --netbiosname NETBIOSNAMEPrimary netbios namehelp
--netbios-scope SCOPEThis specifies a NetBIOS scope that nmblookup will use to communicate with when generating NetBIOS names.help + man
-W, --workgroup WORKGROUPSet the workgroup namehelp
--realm REALMSet the realm namehelp
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.