Nmap in Termux – Installation and Usage Commands

Nmap is a very popular network scanning tool used by beginners and professionals. It helps you find open ports, running services, and basic information about a target system. In Termux, you can easily install and use Nmap to learn networking and security testing in a simple way.

Installation Commands

Update and upgrade all Termux packages.

pkg update && pkg upgrade

Install Nmap in Termux.

pkg install nmap

Check if Nmap is installed successfully.

nmap --version

Usage Commands

Scan a single website or IP address.

nmap example.com

Scan multiple targets at once.

nmap example.com google.com

Scan a specific port on a target.

nmap -p 80 example.com

Scan a range of ports.

nmap -p 1-1000 example.com

Find open ports only.

nmap --open example.com

Detect operating system of the target.

nmap -O example.com

Detect services and versions running on ports.

nmap -sV example.com

Run a fast scan.

nmap -F example.com
READ ALSO  Secret Termux Cool Commands Revealed

Leave a Comment