Wednesday, February 01, 2023

nmap on Mac OS

 Install it using brew and run the nmap command similar to Ubuntu.

It is possible to run a command on a MacOS terminal to check if a port is open on a Ubuntu 20.04 server. You can use the nmap tool to scan the server from the MacOS terminal.


Here is an example of how to check if port 80 is open on the Ubuntu 20.04 server with IP address 192.168.1.100:


nmap -p 80 192.168.1.100


The output will show the status of port 80 on the specified server, including whether it is open, closed, or filtered.