Nmap - Network discovery and security auditing tool.


Nmap is a Nmap is a free and open source utility for network discovery and security auditing.

How to install

To use this tool, please use a method listed below

In a Linux (Debian OS), run the following command(s).

git clone https://github.com/nmap/nmap.git

cd nmap/



make install


Download directly from the following link:


How to execute

Basic Nmap Scan against IP or host

nmap <domain/IP>

Nmap Ping Scan

nmap -sp  

Scan specific ports or scan entire port ranges on a local or remote server

nmap -p 80,443 

Scan multiple IP addresses


# You can also scan consecutive IP addresses:
nmap -p,2,3,4

Scan IP ranges

nmap -p

Scan the most popular ports

nmap --top-ports 20

Scan hosts and IP addresses reading from a text file

nmap -iL list.txt

Scan + OS and service detection with fast execution

nmap -A -T4 example.com 




Next steps:


This article was contributed by Gavin Dennis from Jamaica. Gavin is a member of the Caribbean CSPA.

Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.