nmap linux

// Installation

sudo apt-get install nmap

// Usage

nmap 127.0.0.1 		// Simple TCP Scan
nmap 127.0.0.1 -p- 		// TCP Scan of all ports
sudo nmap -sU 127.0.0.1 	// UDP Scan
sudo nmap 127.0.0.1/24 	// Entire Network Scan
nmap 127.0.0.1 -p 22 	// Scan only port 22
nmap 127.0.0.1 -p 22-80 	// Scan ports 22 to 80
Shiny Stoat