Mac OS x running in our virtual box and everything is running fine. We started exploring lot of utilities inside Mac OS x. To find out network information in Mac OS you can use either terminal or Network utility.
About Network Utility
Network utility a tool which consists of core and advanced tools like ping, netstat, traceroute, finger, and port scan. You can find Network Utility under Utilities.
Utility option visible under Go menu search for utilities.
Network info helps to view the network information like IP address, hardware information, link information, packets received and sent information, etc.
ifconfig : This command helps, seeing Network information in the terminal
Netstat command contributes to finding out the network information, connections (both incoming and outgoing), routing tables, and some network interface statics.
netstat : This command helps to view network status information in the terminal
Ping is a common and initial tool used to check the connectivity of a destination or host.
Ping: This command helps to view the response of a host or website in terminal
Lookup (nslookup) provides the information of the Domain Name System (DNS) servers to find DNS details including IP addresses of a particular domain or computer, MX records for a domain and the NS servers of a domain.
nslookup : This command helps to view DNS, A and MX record of a host or domain in the terminal.
This tool used to find the route of the packet sent across the different network in IPv4.
Traceroute: This command helps to view the route of a packet transmitted across the different network using a terminal.
This tool helps to find out the information like registrant, Name server, creation, and expiry of a domain.
Whois: This command is used to view the information of domain as said above in the terminal.
This tool is used to find the information of a particular user for instance email@example.com but for security and privacy reasons this feature is disabled in all mail servers and web servers.
Finger: This command is used to view the user information as said above in the terminal.
This tool is used to check whether the particular port opened for an IP or domain.
There is no command for the Port scan by default in Mac OS, but additionally, there are some tools available like Nmap which can give you CLI option to use a port scan.