# Display all network interfaces and ip address
ifconfig -a
# Display eth0 address and details
ifconfig eth0
# Query or control network driver and hardware settings
ethtool eth0
# Print kernel module info
ethtool -i eth0
# Print eth0 traffic statistics
ethtool -S eth0
# Print RX, TX and auto-negotiation settings
ethtool -a eth0
# Blink LED
ethtool -p eth0
# Display whois information for domain
whois domain
# Send ICMP echo request to host
ping host
# Network Connections
watch ss -tp
# Display listening tcp and udp ports and corresponding programs
netstat -nutlp
# TCP connections
netstat -ant
# UDP Connections
netstat -anu
# Connections with PIDs
netstat -tulpn
# Display DNS information for domain
dig domain
# Display DNS ip address for domain
host domain
# Display the network address of the host name
hostname -i
# Display all local ip addresses
hostname -I
# Download file http://domain.com/filename
wget http://domain.com/filename