terminal
root@cheat
wget
Download files from the web. Supports recursive downloads, resume capability, and background operation.
$ wget -c https://example.com/largefile.iso
wget -r -np https://site.com/docs/
network
curl
Transfer data from or to a server. Supports HTTP, HTTPS, FTP, and many other protocols.
$ curl -I https://google.com
curl -X POST -d 'data' https://api.example.com
network
ping
Send ICMP echo requests to test network connectivity. -c flag limits the number of packets.
$ ping -c 4 8.8.8.8
ping -i 2 google.com
networkbeginner
ip route
Display and manipulate the IP routing table. Shows how network traffic is routed.
$ ip route
ip route add 10.0.0.0/8 via 192.168.1.1
network
ip a
Show all network interfaces and their IP addresses. Modern replacement for ifconfig command.
$ ip a
ip addr show eth0
network