# Fast scan port 22 nmap -p 22 -n -P0 -sT 10.1.110.0/24|tr "\n" " "|sed "s/Nmap scan report for /\n/g"|grep open # Or PORT=5432 nmap -n -P0 -sT -p$PORT 10.10.1.0/16 >>postgres-scan.txt cat postgres-scan.txt |tr "\n" " "|sed "s/postgres/postgres\n/g"|grep open|awk '{print $4}'|sed "s/://g"|tee|xargs -n1 nslookup|grep arpa # Расширенная инфа nmap nmap -sV -O 10.1.110.13