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

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

Common mistakes / Errores comunes

  • People often copy a command or pattern without adapting placeholders, which can break production workflows unexpectedly.
  • It is easy to forget environment-specific differences, so always verify behavior in your shell, runtime, or API gateway before shipping.
  • Many errors come from skipping small validation steps, so test with realistic sample input before relying on the result.
Last updated: February 2026