Show network interface information
Type here
ifconfig
Show IP address information
Type here
ip addr
Test connectivity to a host
Type here
ping google.com
Ping a host a limited number of times
Type here
ping -c 4 google.com
Trace the route packets take to a host
Type here
traceroute google.com
Display active network connections
Type here
netstat -an
Download a file from a URL
Type here
curl -O https://example.com/file.zip
Fetch and display content from a URL
Type here
curl https://example.com
Fetch a URL and save output to a named file
Type here
curl -o corpus.txt https://example.com/corpus.txt
Call an API and save the JSON response
Type here
curl -H "Accept: application/json" https://api.example.com/data > response.json
Download a corpus file with wget
Type here
wget https://example.com/corpus.txt
Download recursively from a site
Type here
wget -r -l 2 https://example.com/texts/