Advertisement

Network Connections

Display network connections.

netstat -tulpn
ss -tulpn
netstat -r

IP Commands

Modern network configuration.

ip addr show
ip route show
ip link show
ip addr add 192.168.1.100/24 dev eth0

Ping

Test connectivity.

ping example.com
ping -c 5 example.com
Advertisement

Traceroute

Trace network path.

traceroute example.com
tracepath example.com

DNS Lookup

Query DNS records.

nslookup example.com
dig example.com
host example.com

Download Files

Download with wget or curl.

wget https://example.com/file.zip
curl -O https://example.com/file.zip
curl -L https://example.com/file.zip

Network Interfaces

Configure interfaces.

ifconfig
ifconfig eth0 up
ifconfig eth0 192.168.1.100
Last updated: January 2026
Advertisement