doscan command not found

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

Introduction

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

doscan: command not found

or when using sudo you get the following error message

sudo: doscan: command not found

Solutions to doscan: command not found

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

In Ubuntu doscan is provided by doscan package.

doscan is:

doscan is a tool to discover TCP services on your network. It is designed for scanning a single ports on a large network. doscan contacts many hosts in parallel, using standard TCP sockets provided by the operating system. It is possible to send strings to remote hosts, and collect the banners they return.

There are better tools for scanning many ports on a small set of hosts, for example nmap.

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

sudo apt-get -y install doscan

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

You can also use apt command to install doscan.

sudo apt -y install doscan

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

sudo aptitude install doscan

Summary

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