Networking
Networking
- Display network information:
ifconfig
command is used to display all network information(ip address, ports etc)
ifconfig -a
Test connection to a remote machine: Send an echo request to test connection of a remote machine.
ping <ip-address> or hostname Example: ping 10.0.0.11
Show IP Address: Display ip address of a currennt machine
hostname -I (OR) ip addr show
Active ports: Shows active or listening ports
netstat -pnltu
Find information about domain:
whois
command is used to find out information about a domain, such as the owner of the domain, the owner’s contact information, and the nameservers used by domain.whois [domain] Example: whois google.com
Comments
Post a Comment