Scan network & write hosts names

nmap -sn 192.168.43.1-254/24 | egrep "scan report" | awk '{print $6 " -> " $5}'