I'm using Nmap version 7.12 to discover the live hosts in my subnet. When I type the following command:
nmap -sn xxx.xxx.x.*
It lists the live hosts alright, but the report only shows the IP address of the hosts. I'd like to see the hostname and the ip address of the live hosts in the subnet. How can I achieve this? Thanks.