Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

nmap

Network scanning and security audit tool

Syntax

nmap [OPTION]... TARGET

Common Options

-sSTCP SYN scan
-sTTCP connect scan
-sUUDP scan
-sVService version detection
-OOS detection
-pSpecify port range
-AAggressive scan
-snHost discovery only

Common Examples

nmap 192.168.1.1

Scan host

nmap -sV 192.168.1.1

Service version detection

nmap -p 80,443 192.168.1.1

Scan specific ports

nmap -sn 192.168.1.0/24

Network host discovery

nmap -O 192.168.1.1

OS detection

nmap -A 192.168.1.1

Aggressive scan

nmap -p 1-1000 192.168.1.1

Scan port range

nmap -sU -p 53 192.168.1.1

UDP scan DNS port

Related Commands

Related Tools

More Code & Dev Tools