Nslookup is a command used to find the IP address of Domain name.
nslookup google.com
Hostname is a command that is used to display system host name.
hostname
Ping is command that is used to test connection between two devices. It sends ICMP ECHO_REQUEST and receive ICMP ECHO_RESPONSE from a host or gateway.
ping google.com
Netstat is command that is used to show detail information about network connection.
netstat