# dhclient eth0active interface 'eth0' in dhcp mode [man]
# ethtool eth0show network statistics of eth0 [man]
# host www.example.comlookup hostname to resolve name to ip address and viceversa [man]
# hostnameshow hostname of system [man]
# ifconfig eth0show configuration of an ethernet network card [man]
# ifconfig eth0 192.168.1.1 netmask 255.255.255.0configure IP Address [man]
# ifconfig eth0 promiscconfigure 'eth0' in promiscuous mode to gather packets (sniffing) [man]
# ifdown eth0disable an interface 'eth0' [man]
# ifup eth0activate an interface 'eth0' [man]
# ip link showshow link status of all network interfaces [man]
# iwconfig eth1show wireless networks [man]
# iwlist scanwifi scanning to display the wireless connections available [man]
# mii-tool eth0show link status of 'eth0' [man]
# netstat -tupshow all active network connections and their PID [man]
# netstat -tuplshow all network services listening on the system and their PID [man]
# netstat -rnshow routing table alike "route -n" [man]
# nslookup www.example.comlookup hostname to resolve name to ip address and viceversa [man]
# route -nshow routing table [man]
# route add -net 0/0 gw IP_Gatewayconfigure default gateway [man]
# route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1configure static route to reach network '192.168.0.0/16' [man]
# route del 0/0 gw IP_gatewayremove static route [man]
# echo "1" > /proc/sys/net/ipv4/ip_forwardactivate ip routing temporarily [man]
# tcpdump tcp port 80show all HTTP traffic [man]
# whois www.example.comlookup on Whois database [man]