Installing and using nmap
Install nmap on Linux
Using apt:
# Update package index
sudo apt update
# Install nmap
sudo apt install nmap
# Verify installation
nmap --version
Use nmap on Linux
# Scan for device IP addresses
sudo nmap -sn 10.42.0.0/24
Install nmap on Windows
Using the official installer:
- Visit the nmap download page: https://nmap.org/download.html.
- Download the Windows installer.
- Run the installer and follow the setup wizard.
Use nmap on Windows
Open the installed nmap application. In the Target field, enter 192.168.137.0/24. In Profile, select Ping Scan, then click Scan.