Comprehensive Guide to Linux Networking Commands
ping
Tests connectivity to a specific host using ICMP echo requests.
ifconfig
Displays or configures a network interface (deprecated, use 'ip' instead).
ip
Displays/manages network interfaces, routing, and addresses.
netstat
Displays network connections, routing tables, and network interface statistics.
ss
Displays socket statistics and is faster than 'netstat'.
traceroute
Displays the route packets take to a destination.
dig
Queries DNS servers for information about domain names.
nslookup
Queries DNS to obtain domain name or IP mapping.
arp
Displays/manages the ARP table (Address Resolution Protocol).
route
Displays/manages the routing table (deprecated, use 'ip' instead).
curl
Transfers data from or to a server using various protocols (HTTP, FTP, etc.).
wget
Downloads files from the internet non-interactively.
iptables
Configures the Linux kernel firewall.
nmap
Scans networks for hosts and services.
tcpdump
Captures and analyzes network traffic packets.
ethtool
Displays/configures Ethernet device settings.
hostname
Displays/sets the system hostname.
scp
Securely copies files between hosts over SSH.
rsync
Synchronizes files between systems over SSH or locally.
ssh
Connects to a remote host securely using SSH.