Network

Command Description
ifconfig -a Displays all network interface and set ip address
ifconfig eth0 Displays eth0 ethernet port ip address and details
ip addr show Display all network interfaces and ip addresses
ip address add 192.168.0.1 dev etho Sets ip address of eth0 device
ethtool eth0 Linux tool to show ethernet status
mii-tool eth0 Linux tool to show eth0 status
ping host Sends echo requests to the host to test ipv4 connection
whois domain Gets who is information for domain
dig domain Gets DNS nameserver information for domain
host google.com Lookup DNS ip address for the name
hostname -i Lookup local ip address
wget file Downloads file
netstat -tupl Lists all active listening ports
nslookup Resolves domain names to IP addresses
dig -x host Reverse lookup host