Wednesday, July 17, 2024
HomeCentosHow to install NMAP in Linux

How to install NMAP in Linux

Nmap (Network Mapper) is an open source tool for network exploration and security auditing. It was designed to rapidly scan large networks, although it works fine against single hosts. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network. and what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running. and what type of packet filters/firewalls are in use, and dozens of other characteristics. While Nmap is commonly used for security audits, many systems and network administrators find it useful for routine tasks. The tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.

Use following command to install NMAP:

dnf install nmap -y

Some useful nmap commands:

Ping Scan – disable port scan

nmap -v -sn

Scan using IP Address


Probe open ports to determine service/version info

nmap -v -A
nmap -sV

There are other useful commands you can explore by checking nmap manual pages.

man nmap

That’s about it.



Please enter your comment!
Please enter your name here

Most Popular