Linux – How to get netbios name from network computer? (Linux)

bashlinuxnetbios

I want to scan my network periodically and get the Ip, mac, OS and netbios name.

So far I got everything done with a bashscript that runs nmap, but the netbiosname is still a problem.

Best Answer

The program nbtscan can do this. In Ubuntu to install just use apt-get install nbtscan. Example usage is nbtscan 192.168.1.0/24 on a class C network.