×

This article covers different methods to install Nmap on Ubuntu. If you want to learn how to use nmap, visit our guide on 15 Mostly Used Nmap Commands for Scanning Remote Hosts .

Nmap works by sending data packets on a specific target (by IP) and by interpreting the incoming packets to determine what posts are open/closed, what services are running on the scanned system, whether firewalls or filters are set up and enabled, and finally what operating system is running.


To install Nmap on Ubuntu:

1. Make sure the software packages on your Ubuntu system are up-to-date with the command:

$ sudo apt-get update

2. To install NMAP on Ubuntu, run the command:

$ sudo apt-get install nmap

The system prompts you to confirm and continue by typing y and pressing Enter.

3. To verify the installation was successful and to determine the current version of Nmap:

$ nmap --version



This article covers Nmap commands that you can use to get started with scanning your remote hosts. There are hundreds upon hundreds of Nmap commands and Nmap scripts  that are used for scanning hosts and probing for any vulnerabilities.

Nmap, or Network Mapper, is an open source Linux command line tool for network exploration and security auditing. With Nmap, server administrators can quickly reveal hosts and services, search for security issues, and scan for open ports.

The Nmap tool can audit and discover local and remote open ports, as well as network information and hosts.

With the right Nmap commands, you can quickly find out information about ports, routes, and firewalls.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com