====== Ubuntu - nmap - Scan Multiple Hosts ======
Scan multiple hosts by simply writing their IP addresses or hostnames with Nmap.
nmap 192.168.1.69 192.168.1.100
result:
Starting Nmap 6.40 ( http://nmap.org ) at 2016-07-07 23:37 BST
Nmap scan report for peter-laptop-1 (192.168.1.69)
Host is up (0.00016s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
Nmap scan report for 192.168.1.100
Host is up (0.029s latency).
Not shown: 989 closed ports
PORT STATE SERVICE
80/tcp open http
139/tcp open netbios-ssn
443/tcp open https
445/tcp open microsoft-ds
515/tcp open printer
631/tcp open ipp
6839/tcp open unknown
7435/tcp open unknown
8080/tcp open http-proxy
9100/tcp open jetdirect
9220/tcp open unknown
Nmap done: 2 IP addresses (2 hosts up) scanned in 2.13 seconds