Chapter 3 About Network
wget URLwget URL1 URL2# Downloaded file name and print logs to filewget URL -O down.file -o down.log# Try 5 timeswget -t 5 URL# Limit speedwget --limit-rate 20k URL# Quota of downloadwget -Q 100m URL# Resume downloading and continuewget -c URL# Authentication for HTTP FTPwget --user NAME --password PASS URL# Copy webpage as formatted txtlynx -dump URL > webpage.txt# Copy a complete websitewget --mirror URLwget -r -N -l DEPTH URL
# More powerful toolcurl URL --slientcurl URL > index.html# Write to file not ~stdout~curl URL --slient -Ocurl URL --slient -o NEW_FILE# Progress barcurl URL --progress -o NEW_FILE# Resumecurl URL/file -C offset# Cookiescurl URL --cookie-jar cookie_file# User agentcurl URL --user-agent "Mozilla/5.0"# Headercurl -H "Host: www.archlinux.org" -H "Accept-language: en" URL# Limit speed/bandwidthcurl URL --limit-rate 20k# Quota of downloadcurl URL --max-filesize bytes# Authentication for HTTP FTPcurl -u USER:PASS URLcurl -u USER URL# Dump only HTTP headers without downloading filecurl -I URLcurl -head URL
axel URL --slient -ohttpie URL