Commands NMAP Published: 2025-02-07 Good command to list the IPs of online computers in a given subnet. 1nmap -sn -PR -n -oG - 192.168.31.0/24 | grep "Up" | awk '{print $2}'