shlogg · Early preview
Shakhzhakhan Maxudbek @xinitd

NMAP Tutorial: Network Scanning With NMAP CLI Tool

Learn NMAP basics: install, scan hosts, subnets & ports, detect OS & firmware versions, find MAC addresses and more with this step-by-step guide.

Network Mapper or NMAP is powerful open source network scanner, which may scan network hosts, subnets and ports. NMAP may be used as CLI tool or with GUI (Zenmap). Today we show how it works in command line interface.
How to install in Debian-like systems:

sudo apt install nmap -y

    
    

    
    




After installation complete, check with nmap --help command:

user@localhost:~$ nmap --help
Nmap 7.93 ( https://nmap.org )
Usage: nmap [Scan Type(s)] [Options] {target specification}
...

    
    

    
    




Host scanning. In case you want to scan one network node just give it's IP add...