Command nmap can be used to scan an IP for open ports. The syntax for the same is given below -
nmap
$ nmap -Pn {IP_ADDRESS}
Replace IP_ADDRESS with the IP to be scanned.
IP_ADDRESS
Last updated 1 year ago