> For the complete documentation index, see [llms.txt](https://tenaka.gitbook.io/pentesting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tenaka.gitbook.io/pentesting/recon/nmap/basics.md).

# Basics

### #scan ports 1-65535

nmap 10.0.0.1 -p-      &#x20;

### #scan subnet all ports

nmap 10.0.0.0/24 -p-

### #scan IP's 1 to 100

nmap 10.0.0.1-10.0.0.100&#x20;

### #scan Services, TCP Syn, Aggressive port 145

nmap -sV -sS -A p145,139 10.0.0.1

&#x20;
