nbtscan command not found

In this troubleshooting guide we learn how to fix nbtscan command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nbtscan: command not found

or when using sudo you get the following error message

sudo: nbtscan: command not found

Solutions to nbtscan: command not found

How To Fix nbtscan: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nbtscan is provided by nbtscan package.

nbtscan is:

NBTscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human readable form. For each responded host it lists IP address, NetBIOS computer name, logged-in user name and MAC address (such as Ethernet).

This program is useful for security checks, network discovery and forensics investigations.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nbtscan

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nbtscan.

sudo apt -y install nbtscan

Or if you have aptitude installed you can use the following command.

sudo aptitude install nbtscan

Summary

In this tutorial we learn how to fix nbtscan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.