Linux Displaying only hostnames with nmap in bash June 18, 2021 No Comments nmap -sP 192.168.1.0/24 -oG – | awk ‘/Up$/{print $3}’ | tr -d “()” | grep “\S” Continue Reading