How to only display open ports
I’m very new to Nmap. I’m using Nmap to find open ports of an IP by this command:
nmap -v -Pn -p 1-100 “$ip” -oG –
Here is the output:
Host: IP
Ports:
6/closed/tcp/unknown
19/closed/tcp/chargen
20/closed/tcp/ftp-data
21/open/tcp/ftp
2… Continue reading How to only display open ports