Insight: Nmap Commands Tutorial For Every Linux Users

Let’s have a quick look into the list of Nmap commands tutorial for every Linux user.

Nmap Commands Tutorial For Every Linux User

Scan a Single Host

nmap or hostname

Scan Multiple Hosts

nmap hostname1 hostname2 hostname3


Scan Range of IP Addresses


Scan an entire subnet, use the below command.


Remote OS detection

nmap -A
nmap -A -v

Get Firewall Information of Hosts

nmap -sA
nmap -v -sA

Hosts protected by external firewalls

nmap -PN hostname
nmap -PN

Scan IPv6 Hosts

nmap -6 hostname
nmap --6 2001:0db8:85a3:0000:0000:8a2e:0370:7334

List Hosts without Port Scanning

sudo nmap -sn

Display Open Ports Only

nmap --open

Scan Hosts Using TCP SYN

sudo nmap -PS20-25,80,110,443

Scan Using IP Protocols

nmap -v -sO


READ More Relevant Stuff:  Best Digital Audio Workstation Apps For Linux In 2021

Leave a Reply

Your email address will not be published. Required fields are marked *