← All commands
Topic hub Networking
Windows Linux Networking SMB

Windows nbtstat -A equivalent in Linux

Looks up NetBIOS names for a host.

Windows nbtstat -A
Linux equivalents
Debian/Ubuntu apt package: samba-client / cifs-utils
nmblookup -A IP
Fedora dnf package: samba-client / cifs-utils
nmblookup -A IP
Arch pacman package: smbclient / cifs-utils
nmblookup -A IP

Overview

What this command does

Looks up NetBIOS names for a host.

Migration tip: Check the distro-specific rows before copying; package names and service names can differ even when the tool name is similar.

Practical tasks

Common use cases

Query NetBIOS name table

Looks up NetBIOS names for a host.

nmblookup -A IP

Query NetBIOS name table

nmblookup --help

Show command help when supported

man nmblookup

Open the manual page when installed

Ready to run

Copyable Linux commands

Review paths, device names, package names and permissions before running any command.

nmblookup -A IP

Walkthrough

Examples with explanations

# Windows equivalent: nbtstat -A
nmblookup -A IP

Reference

Common options and variations

Command or optionUse
nmblookup -A IPQuery NetBIOS name table
nmblookup --helpShow command help when supported
man nmblookupOpen the manual page when installed

Distro differences

Debian/Ubuntu vs Fedora vs Arch

The equivalent is shown for Debian/Ubuntu, Fedora and Arch. Some rows use a different package manager or helper tool where Linux distributions commonly diverge.

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu apt package: samba-client / cifs-utils nmblookup -A IP Same command on this distribution.
Fedora dnf package: samba-client / cifs-utils nmblookup -A IP Same command on this distribution.
Arch pacman package: smbclient / cifs-utils nmblookup -A IP Same command on this distribution.

Keep learning

Related Networking commands