nmap Command: Scan A Single IP Address or Host

To scan a single IP address or host using nmap, you can use the following command:

nmap [host or IP address]

For example, to scan the host www.example.com, you would run:

nmap www.example.com

Or, to scan the IP address 192.168.1.100, you would run:

nmap 192.168.1.100

By default, nmap will perform a basic scan of the specified host or IP address, identifying the open ports and the services running on those ports. The output of the scan will include information such as the operating system and version, the available services, and the state of each port. (https://lsu79.org/)

You can also use additional options with nmap to customize the scan and obtain more information. For example, you can use the -p option to specify a specific port or range of ports to scan, or the -sS option to perform a stealth (SYN) scan.

For more information on using nmap, you can consult the nmap manual page by running man nmap in a terminal window.

Leave a Comment